Open GoogleCodeExporter opened 9 years ago
You needed enable IPv6 on tun interface first
Client
sysctl -w net.ipv6.conf.tun0.disable_ipv6=0
Server
sysctl -w net.ipv6.conf.tun1.disable_ipv6=0
I can add this code to "rc", when IPv6 is enabled.
Original comment by andy.pad...@gmail.com
on 4 Sep 2013 at 9:03
Hmm, I try use IPv6 on -068 build. IPv6 enabled (6in4 from HE).
Set TUN encapsulation in main settings and add lines to custom conf
tun-ipv6
server-ipv6 2001:470:xxx:xxx::/64
OpenVPN server started w/o any errors, tun1 interface is configured IPv6
address successfully.
Original comment by andy.pad...@gmail.com
on 4 Sep 2013 at 9:20
sysctl -w net.ipv6.conf.tun1.disable_ipv6=0
did the trick!
Thanks a lot!
What would be the best place to add this, so it gets run every boot and is not
removed on firmware update?
Original comment by josef.schneider
on 5 Sep 2013 at 9:11
[deleted comment]
[deleted comment]
It should be 0 by default. Check it yourself, reboot the device, start openvpn
server and do:
# cat /proc/sys/net/ipv6/conf/tun1/disable_ipv6
Anyway you will be able to do your 'trick' only after OpenVPN had been started,
tup/tap driver had been initialized or you'll get the error message! So, even
if it should be executed - it should be executed at the moment server starts...
Original comment by d...@soulblader.com
on 15 Sep 2013 at 12:19
Original issue reported on code.google.com by
josef.schneider
on 2 Sep 2013 at 7:36