Closed doc75 closed 4 years ago
Silly question, is it required to activate ipv6 mode in docker to make ipv6nat to work ?
Please see the README: https://github.com/robbertkl/docker-ipv6nat/blob/master/README.md#docker-ipv6-configuration
@robbertkl sorry, but I misunderstood what was in the README. My fault.
We eventually understood what was going on. The issue is not related to ipv6nat, but ipv6nat revealed an issue. I am putting the explanation here in case it can help someone in the future.
Detailed explanation can be found here
Summary: We had two services (using docker-compose) with the same name. One connected to a docker network called web
and one connected to a docker network called default
. Another container was connected to both docker networks and therefore sometime it tried to access the wrong service.
The issue never occurs before using ipv6nat
, reason for opening this ticket on my side.
Thanks for the details! No worries.
I am trying to use ipv6nat, as it seems that it would allow to have ebtter IPv6 support with docker. Indeed currently I got a generic IPv4 address in X-FORWADED-FR instead of IPv6.
I have an issue when I launch several services and it happens only for php services behind NGINX (but not for all services).
My configuration is the following:
Traefik is the only front end connected to the WWW on port 80 and 443.
ipv6nat is defined as below:
I can see the following in my logs:
It does not happen on all the containers working on the same schema mentioned above. I have never seen this issue when NGINX and PHP-FPM are in the same container (and therefore Traefik is directly connected to the NGINX/PHP-FPM container).
I can see that the
web
docker network is mentioned in the ip6tables in the FORWARD chainHow can I debug this ?