Hello,
i have a VPS (virtual private server) and Docker installed to provide some (non-commercial) services. I have added a dockerized nginx as a reverse-proxy which listens on the local interface of the VPS (port 80 and 443). Another container is using acme to create and renew certificates (i terminate SSL on the reverse-proxy nginx).
Now, i also have a bulletinboard software running and like know the users IP address (which is shown as part of the user account). For IPv4 addresses this works fine, but every user using IPv6 ist shown as 172.18.0.1 in the user account. This is the docker network gateway-IP and i assume it use some kind of source-NAT for IPv6 addresses. I tried a lot to get around this by using HTTP X-Headers, but without luck.
Now i see, using docker inspect, that my docker network is only IPv4 enabled. Do i need to enable IPv6 as well to receive the users IP address? Or is there anything else i could/should do?