Hello guys my first post on this forum so please give me feed back if I´m posting in a stupid or complicated way and have patience whit my bad spelling do I´m dyslectic. I made this illustration of my problem that is my IPv6 being forwarder from wlan0 to eth0 and then to my IPv4 ISP instead of going thru my he tunnel. I have tried a lot of different configurations whit out any result so far, maybe some one have some good advise for me.
IPv4 IPv4 _eth0--------------ISP IPv4 / My Laptop wlo1 --------- wlan0 router Laptop IPv6 IPv6 HE-tunnel----------End point and IPv6 internet
My laptop wlo1: 2001:470:27:46e:3ab2:69d4:8419:325d/64
router Laptop wlan0: fe80::4a5d:60ff:fe9f:25b1/64
router Laptop eth0: fe80::beae:c5ff:fe37:de45/64
router Laptop HE-tunnel: 2001:470:27:46e::2/64
He-tunnel end point: 2001:470:27:46e::1
To be sure what was going wrong i used tcpdump to see were trafficker got stuck.
ping6 ipv6.google.com on router laptop 13:59:32.942350 IP tserv1.sto1.he.net > h186n23-vb-a11.ias.bredband.telia.com: IP6 arn02s05-in-x0e.1e100.net > Kex4King-1-pt.tunnel.tserv24.sto1.ipv6.he.net: ICMP6, echo reply, seq 22, length 64 ping6 ipv6.google.com on my laptop 14:01:42.112935 IP h186n23-vb-a11.ias.bredband.telia.com > tserv1.sto1.he.net: IP6 arn09s11-in-x0e.1e100.net > 2001:470:27:46e:87af:3d24:a865:8691: ICMP6, echo reply, seq 13, length 64 14:01:43.082344 IP h186n23-vb-a11.ias.bredband.telia.com > tserv1.sto1.he.net: IP6 2001:470:27:46e:87af:3d24:a865:8691 > arn09s11-in-x0e.1e100.net: ICMP6, echo request, seq 14, length 64
One thing I have tried was to make the tunnel my gateway in /etc/network/interfaces it didn’t work bu it gave me a new IP address
iface wlan0 inet6 auto gateway 2001:470:27:46e::1
I also tried turning of IPv6 on eth0 and to have tried to only allow IPv6 forwarding on interface wlan0 and he-ipv6
/etc/sysctl.conf net.ipv6.conf.eth0.disable_ipv6=0 net.ipv6.conf.wlan0.forwarding=1 net.ipv6.conf.he-ipv6.forwarding=1
It did not work at all
I have previously posted about this on Debian forum there you can see some more out puts and config files. http://forums.debian.net/viewtopic.php?f=30&t=131134
/etc/network/interfaces source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback auto wlan0 iface wlan0 inet static hostapd /etc/hostapd/hostapd.conf address 192.168.0.10 netmask 255.255.255.0 iface wlan0 inet6 auto gateway 2001:470:27:46e::2 auto he-ipv6 iface he-ipv6 inet6 v4tunnel address 2001:470:27:46e::2 netmask 64 endpoint 18.104.22.168 local 22.214.171.124 ttl 255 gateway 2001:470:27:46e::1
/etc/sysctl.conf net.ipv4.ip_forward=1 net.ipv6.conf.all.forwarding=1
Thanks in advance for any help.