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.
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.
Rules:
Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Look for something called hairpin NAT or NAT reflection
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.
The 3rd option worked. Thanks for your help!