1
24.7 Production Series / nginx ipv6 reverse proxy not working
« on: October 11, 2024, 12:59:30 pm »
Hi,
opnsense has ipv6 ip address.
ping to this IP works fine.
nginx is listening on ipv6 .. .so curl "https://[::1]:8443" returns the website just fine
from the firewall, i have v6:443 -> ::1:8443 forwarded. This is exactly the same as v4 forward which works fine.
When I do https://v6:443/ , from tcpdump I see that the packets are reaching the firewall and the port ,but it does not get forwarded to ::1:8443 and there is nothing more in tcdump or nginx logs or in firewall logs. Same for port 80 forwarding.
Looks like the requests comes to (WAN) v6:443 and disappears from there.
The behaviour is the same with firewall disabled "pfctl -d "
Can someone provide me pointers on how to fix/troubleshoot this ?
Many thanks
opnsense has ipv6 ip address.
ping to this IP works fine.
nginx is listening on ipv6 .. .so curl "https://[::1]:8443" returns the website just fine
from the firewall, i have v6:443 -> ::1:8443 forwarded. This is exactly the same as v4 forward which works fine.
When I do https://v6:443/ , from tcpdump I see that the packets are reaching the firewall and the port ,but it does not get forwarded to ::1:8443 and there is nothing more in tcdump or nginx logs or in firewall logs. Same for port 80 forwarding.
Looks like the requests comes to (WAN) v6:443 and disappears from there.
The behaviour is the same with firewall disabled "pfctl -d "
Can someone provide me pointers on how to fix/troubleshoot this ?
Many thanks