1
20.7 Legacy Series / Reverse Proxy - Site accessible over WAN IP (Solved)
« on: December 03, 2020, 09:02:10 pm »
I currently have 2 sites hosted on a server behind the OPNsense FW that accessible by two sub domians through the NGINX reverse proxy:
I then have a FW rule on the WAN interface that allows port 443 to the WAN address.
The two sites are perfectly accessible and working fine. My issue is that if you browse directly to the WAN IP it shows up the site hosted on Server A Port x. How do I make it so that no site is accessible on the WAN IP.
Separately is it possible to have the NGINX part of OPNsense running off an additional WAN virtual IP i have?
- sub1.domain > Reverse Proxy > Server A (port x)
- sub2.domain > Reverse Proxy > Server A (port y)
I then have a FW rule on the WAN interface that allows port 443 to the WAN address.
The two sites are perfectly accessible and working fine. My issue is that if you browse directly to the WAN IP it shows up the site hosted on Server A Port x. How do I make it so that no site is accessible on the WAN IP.
Separately is it possible to have the NGINX part of OPNsense running off an additional WAN virtual IP i have?