nginx-gateway-fabric
nginx-gateway-fabric copied to clipboard
Not working/listening on IPv6
Describe the bug
Connecting to the IPv6 address of the IP (both Pod, LoadBalancer etc.) doesn't work.
curl -v http://\[2001:db8::10::1\]:80
To Reproduce Steps to reproduce the behavior:
- Deploy nginx gateway fabric on IPv6-enabled (or IPv6-only cluster)
curl -v http://<IPv6Address>:80to IP of the nginx pod, LB etc. (Or hostname/DNS-name
Expected behavior Able to connect, like via IPv4
Your environment
- NGINX Gateway Fabric 1.2
- Kubernetes 1.29
- Nginx Gateway Fabric Pod exposed via LoadBalancer
- NGINX Configuration:
kubectl -n nginx-gateway exec <gateway-pod> -c nginx -- nginx -T
Additional context
Expected fix:
All "listen <port>"-directives in internal/mode/static/nginx/config/servers_template.go should have a corresponding
listen [::]:<port>
Hi @DennisGlindhart! Welcome to the project! 🎉
Thanks for opening this issue! Be sure to check out our Contributing Guidelines and the Issue Lifecycle while you wait for someone on the team to take a look at this.
This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 14 days.
Hey Dennis, sorry for the delay in response! We are aware that NGF does not support listening on IPv6 or sending to IPv6 addresses at this time, but we are planning on implementing it in 1.4.
I'll move this issue into the milestone so we can track that work here until the epic is more detailed.
As this is enhancement is now being tracked in #2086, closing this bug report.