IPv6 with OpenVPN in Docker [closed] IPv6 with OpenVPN in Docker [closed] docker docker

IPv6 with OpenVPN in Docker [closed]


Oh, i just found the solution by myself:

IPv6 has to be enabled for the container by setting a sysctl value:

--sysctl net.ipv6.conf.all.disable_ipv6=0

So the final command for starting the container without the problem described above is:

sudo docker run -it --name container --cap-add=NET_ADMIN --device=/dev/net/tun --sysctl net.ipv6.conf.all.disable_ipv6=0 myimage