1
24.7 Production Series / Re: OPNsense web gui through reverse proxy
« on: September 17, 2024, 10:34:56 pm »
IMO, this is dangerous to open your firewall GUI to this exposure. But, if you want to keep this, then I would consider changing your GUI port to something like 9443, because what's most likely happening is your 443 traffic that should just be pointed to NGINX is interfering with your same port as the GUI.
You can change the firewall admin GUI port in your interface, but on NGINX, you would identify the port in your destination address.
So, if you want to go to badidea.myfirewall.com:443, your destination address in NGINX would read: badidea.firewall.local:9443.
You can change the firewall admin GUI port in your interface, but on NGINX, you would identify the port in your destination address.
So, if you want to go to badidea.myfirewall.com:443, your destination address in NGINX would read: badidea.firewall.local:9443.