robbertkl / docker-ipv6nat

Extend Docker with IPv6 NAT, similar to IPv4
MIT License
662 stars 48 forks source link

Implement IP 4 to 6 mapping on HostIP listen addresses #50

Open mildred opened 4 years ago

mildred commented 4 years ago

In some cases, the docker container can specify a HostIP listen address to listen to. It might be desirable to allow converting containers listening on IPv4 only addresses to IPv6 by using a network mapping.

The IPv4 address is mapped to IPv6 by matching it to an IPv4 CIDR provided via a command-line flag. Multiple mapping is possible.

Implements #48