Ubuntu ufw and static tunnel timeout
![]()
Hello,
did anyone succeed in using the Ubuntu (8.04) ufw firewall with a static tunnel? With this setup, the ping test regularly fails when no other data is transferred.
I can verify this myself: If I ping the host, it doesn't reply, but as soon as the host itself starts transfering some IPv6 data, ping works again for a while. The host has a static IP without NAT.
This clearly looks like the problem described at https://www.sixxs.net/faq/connectivity/?faq=conntracking, but the solutions listed on that page don't work. If I shutdown ufw at all, it works fine.
Anyone has a working setup like this? Or do I need to drop ufw and use something else?
Thanks,
Florian
Ubuntu ufw and static tunnel timeout
![]()
The solutions on that page are keeping the protocol 41 for the tunnel out of your NAT.
On your static IP without NAT, you likely need to allow the inbound protocol 41. Something like this might do it:
iptables -I INPUT 1 -p 41 -j ACCEPT
Ubuntu ufw and static tunnel timeout
![]()
Hi John,
thanks a lot, that did the trick!
I read http://www.sixxs.net/faq/connectivity/?faq=firewalled but wasn't aware that I also need proto 41 incoming, just had allowed established and related connections to go in.
Maybe it makes sense to edit the page and add that information. :-)
Thanks again!
Florian
Ubuntu ufw and static tunnel timeout
![]()
Hello,
you must have in /etc/default/ufw the line:
IPV6=yes
Thats all ;-)
Obrys
Ubuntu ufw and static tunnel timeout
![]()
Hello Jan,
IMHO, that only means that all rules apply for IPv6 as well - but they do not permit protocol 41 packets automatically.
Florian
|