How to allow IPIP (IP encap, proto 4) with ufw?

Solution 1:

I was looking for the same thing. Edit /etc/ufw/before.rules just before COMMIT

-A ufw-before-input -p 4 -j ACCEPT