Im trying to setup a firewall for IPv6 between two networks using Docker (I know there are other technologies to do this, but I want to use docker). The main problem that I ran into is that I can not find a way to enable the IPv6 forwarding inside the firewall container.
From the dockerd reference[1] I know that there are options to enable this for IPv4, but there are none for IPv6. Is this feature simply not supported yet, or am I doing something wrong?
My daemon.json looks like this:
{
"ipv6": true,
"fixed-cidr-v6": "2001:db8:1::/64",
"ip-forward": true
}
[1] https://docs.docker.com/engine/reference/commandline/dockerd/
in your docker-compose.yml add:
sysctls:
net.ipv6.conf.all.disable_ipv6: 0
net.ipv6.conf.all.forwarding: 1