Enable IPv6 OpenVPN-AS Docker

I’m trying to enable IPv6 support for OpenVPN access server, but so far I’m not having any luck. I’ve followed the steps for enabling it on Docker (https://docs.docker.com/config/daemon/ipv6/), and it works fine on the host server itself, and I’m able to connect to OpenVPN just fine with IPv4. Otherwise I can’t seem to find any documentation for enabling support for accessing IPv6 addresses. Could someone help point me in the right direction? Thanks!

I doubt it will work in any meaningful way, the docker host nats traffic into the docker containers and ipv6 isn’t intended to be natted. I spent some time on this a while back and while i got everything fully working, ipv6 had about a 100ms delay in everything ip based.

You are highly unlikely to find any help on this forum with this. I’d like to tell you you’ll get help in discord, but you probably won’t, it’s niche and poorly supported. Feel free to drop on to our discord either way though

You should create a macvlan for this to work.

Example :

docker network create -d macvlan DirectNet
–subnet= --gateway=
–subnet=2001:1::/64 --gateway=2001:1::1
-o parent=eth0

Just put in your own ranges and it should work.