Linux Netfilter discussions
 help / color / mirror / Atom feed
* Problem with IPv6 tunnel
@ 2009-06-19  8:31 David Balažic
  2009-06-19 10:18 ` Benedikt Gollatz
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: David Balažic @ 2009-06-19  8:31 UTC (permalink / raw)
  To: netfilter

Hi!

I have set up a (SixXS[1]) IPv6 tunnel on my linux router and have the
problem, that after a while I become unavailable over IPv6 for the
outside world.
Then I I perform some IPv6 activity, like "ping6 ipv6.google.com" I
become accessible again for a while.

A SixXS FAQ entry[2] suggests adding an iptables rule:
 iptables -t nat -A POSTROUTING --proto ! 41 -o [Your IPv4 Interface]
-j MASQUERADE

This way I get (iptables -t nat -L ...):

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
postrouting_rule  all  --  anywhere             anywhere
MASQUERADE  all  --  anywhere             anywhere
MASQUERADE !ipv6 --  anywhere             anywhere  # the added rule

I am not an iptables expert, but to me it seems the first MASQUERADE
rule matches all packets and the new one does not make any difference.
Can someone confirm that ?


More info:

kernel 2.4.30 (OpenWRT 1.0 - update is not really an option, unfortunately)
iptables v1.3.3

tunnel set up by AICCU 2007.01.15-console by Jeroen Massar
tunnel config excerpt:

# Protocol and server to use for setting up the tunnel (defaults: none)
#protocol <tic|tsp|l2tp>
#server <server to use>
protocol tic
server tic.sixxs.net

ipv6_interface sixxs

Tunnel type: 6in4-heartbeat

Regards,
David


[1] https://www.sixxs.net/
[2] https://www.sixxs.net/faq/connectivity/?faq=conntracking

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2009-07-10 22:31 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-19  8:31 Problem with IPv6 tunnel David Balažic
2009-06-19 10:18 ` Benedikt Gollatz
2009-06-19 12:03   ` David Balažic
2009-06-19 12:13     ` Benedikt Gollatz
2009-06-19 12:57       ` David Balažic
2009-06-19 13:08         ` Benedikt Gollatz
2009-06-19 13:37           ` David Balažic
2009-06-21 13:44   ` Chris Hills
2009-06-21 13:46     ` Chris Hills
2009-07-09 15:30   ` Pascal Hambourg
2009-06-19 10:18 ` Benedikt Gollatz
2009-07-09 11:48 ` David Balažic
2009-07-09 13:06   ` David Balažic
2009-07-09 14:51     ` Benedikt Gollatz
2009-07-09 15:34       ` Pascal Hambourg
2009-07-10 11:50         ` Benedikt Gollatz
2009-07-10 13:40           ` Pascal Hambourg
2009-07-10 15:00             ` David Balažic
2009-07-10 15:30               ` Pascal Hambourg
2009-07-10 22:31                 ` David Balažic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox