0

I successfully setup 6in4 ipv6 tunnel to enable ipv6 connectivity at home using a remote linux box with a /64. The connectivity works well between the two host, but not with internet.

Here is my setup:

Linux box eth0: 2001:470:XXXX:XXXX::1
Linux box 6in4: 2001:470:XXXX:XXXX::2 --> 2001:470:XXXX:XXXX::3 prefixlen 128
Linux box 6in4: 172.16.0.1 --> 172.16.0.2
Linux box tun0: 172.16.0.1 --> 172.16.0.2/32
Home 6in4: 2001:470:XXXX:XXXX::3 --> 2001:470:XXXX:XXXX::2 prefixlen 128
Home 6in4: 172.16.0.2 --> 172.16.0.1
Home tun0: 172.16.0.2 --> 172.16.0.1/32

Home route: default dev 6in4 Linux box route: default 2001:470:XXXX:XXXX::ff (the gateway) Linux box route: 2001:470:XXXX:XXXX::4 via 6in4

From home, I successfully ping 2001:470:XXXX:XXXX::1 and 2001:470:XXXX:XXXX::2
From Linux box, I successfully ping 2001:470:XXXX:XXXX::3
From the outside, I successfully ping 2001:470:XXXX:XXXX::1
From the outside, I can't ping 2001:470:XXXX:XXXX::2 nor 2001:470:XXXX:XXXX::3
From the Linux box, I successfully ping the outside (google.com)
From home, I can't ping the outside

I have enabled the ipv6 forwarding: $> sysctl net/ipv6/conf/all/forwarding net.ipv6.conf.all.forwarding = 1

But it changes nothing. My guess is that if I manage to ping 2001:470:XXXX:XXXX::3 from the outside, I'll be able to access 2001:470:XXXX:XXXX::4 too.

It might be because the 'internal' ipv6 network needs to be different than the public one but then I'd need to NAT the traffic which ip6tables does not allow...

If someone has an idea, it would be greatly appreciated :)

0 Answers0