Skip to contentSkip to conversation

IPv6 Router and NAT/connection tracking

DISCUSSION Internet Protocol version Six 1 participant 1 message Jun 20, 2003

lore
Share & tools
lore
#0 lore raw

Well, I just tried it, still the same, connections from the routerbox itself to the Internet (like an IRC server) don't timeout, but connections to the Internet from a machine on the network do timeout after a 4 minutes or something and traceroutes to the address of the machine on the network ends at the router, timing out. And then I cannot establish a connection anymore unless I tracert6 from the networkmachine to a hostname on the Internet, doesn't even matter which address I traceroute6 too, aslong as it's an Internet address and then the whole thing works again..., repeating the same problem again :(

Quoted 33 lines

----------------------------------------
From: Joel Newkirk <[email protected]>
Sent: Fri Jun 20 08:24:48 GMT+02:00 2003
To: Internet Protocol version Six <[email protected]>
Subject: Re: IPv6 Router and NAT/connection tracking

Quoted 5 lines · Internet Protocol version Six

I'm connected via IPv6-in-IPv4 and I have a /48 assigned to this box, and I want the box to act as a router for my machines which it's doing nicely, only the conntrack thing is annoying the hell outta me ;) Will that solve it (ACCEPTING in both directions)?

Quoted 8 lines

And so what you are saying is that I should do this?:
iptables -I INPUT -p 41 -j ACCEPT
iptables -I OUTPUT -p 41 -j ACCEPT
iptables -I PREROUTING -p 41 -j ACCEPT -> not sure about this one

or am I wrong/forgetting something? :)

Thanks for your help, greatly appreciated

AFAIK that is correct. (however the PREROUTING one wouldn't work, would need to be NAT table, and would be unnecessary anyway since that chain is supposed to have an ACCEPT policy - NAT in NAT table, filter in FILTER table) The two rules, INPUT and OUTPUT, should overcome any failure of the state machine to recognize intermittent tunnel traffic as ESTABLISHED.

Regarding 'internal' ipv6 traffic within your network, I suspect you should be using ip6tables there if needed. (ip6tables won't see 6in4 tunnel traffic though, since the tunnel itself is IPv4)

Quoted 10 lines

I haven't configured my gateway as an ipv6 router yet, however. I have a single address ATM from freenet6. When I get the chance to tinker (a few weeks from now at least) I want to configure ipv6 on my desktop as well as my server and see what there is to see.

j

-----------------------------------------------------
Mail.be, WebMail and Virtual Office
http://www.mail.be