Disable OPNSense GUI on WAN

starkcommando@lemmy.world to Selfhosted@lemmy.world – 9 points –

Is there a way to disable access to the OPNSense GUI when entering the public IP address into a browser on the LAN?

I'm hosting a webser on my home network. I can access the web server from the Internet, but when I'm internal and browse to the domain, I'm taken to the OPNSense GUI.

4

You are viewing a single comment

It looks like opnsense exposes this on the port forward page. Go to your port 80/443 forward and there is probably an enable NAT reflection option.

https://imgur.com/a/y2KdPNf

These are the options I've found related to NAT reflection. After enabling the first option, I'm no longer taken to the GUI but I'm not hitting the web server either. Enabling the second makes no difference.