Linux Netfilter discussions
 help / color / mirror / Atom feed
* Unable to stop tunnel from being "connection-tracked"
@ 2003-10-02 11:10 Wouter Vanwalleghem
  2003-10-02 13:52 ` Ramin Dousti
  2003-10-03 10:15 ` Harald Welte
  0 siblings, 2 replies; 7+ messages in thread
From: Wouter Vanwalleghem @ 2003-10-02 11:10 UTC (permalink / raw)
  To: netfilter

hi all,

I have setup a 6-in-4 tunnel which is giving me head-aches.
FYI, I use kernel 2.4.21 and iptables 1.2.8.

As soon as I start using the tunnel the output of "cat
/proc/net/ip_conntrack" shows a protocol 41 connection between my
firewall and the IPv4 PoP of the tunnelbroker. 
OK so far. 

But if I then stop using the tunnel, above-mentioned connection
disappears from the connection tracking table after 600 seconds.
Normal behaviour.

Thing is that the tunnel "dies" as soon as the connection has
disappeared from the connection tracking table.

After some research I followed a suggestion to keep the tunnel from
being connection tracked.
However, the following iptables rules do not prevent the tunnel from
popping up in the connection tracking table:


#####------------ IPv6 tunnel to SixXS-----
iptables -A INPUT -p 41 -s tunnelserver.concepts-ict.net -j ACCEPT
iptables -A OUTPUT -p 41 -d tunnelserver.concepts-ict.net -j ACCEPT
iptables -A INPUT -p icmp --icmp-type echo-request -s
tunnelserver.concepts-ict.net -j ACCEPT
iptables -t nat -A POSTROUTING --protocol ! 41 -s 192.168.100.0/24 -o
ppp0 -j MASQUERADE

The ip6tables tables are all empty and all policies are set to ACCEPT.
I cannot do without the MASQUERADE'ing rule because I still want my LAN
to have connectivity.

Anybody have a clue?

TIA

kind regards,

Wouter




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

end of thread, other threads:[~2003-10-03 20:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-02 11:10 Unable to stop tunnel from being "connection-tracked" Wouter Vanwalleghem
2003-10-02 13:52 ` Ramin Dousti
2003-10-02 19:35   ` Wouter Vanwalleghem
2003-10-03 10:16     ` Harald Welte
2003-10-03 19:43     ` Ramin Dousti
2003-10-03 20:02       ` Wouter Vanwalleghem
2003-10-03 10:15 ` Harald Welte

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