this post was submitted on 04 Jul 2023
11 points (92.3% liked)

Selfhosted

40173 readers
611 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] papertigers 5 points 1 year ago (1 children)

Look for something called hairpin NAT or NAT reflection

[–] papertigers 6 points 1 year ago (1 children)

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.

[–] starkcommando 2 points 1 year ago (1 children)

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.

[–] starkcommando 3 points 1 year ago

The 3rd option worked. Thanks for your help!