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.

  • @papertigers
    link
    English
    51 year ago

    Look for something called hairpin NAT or NAT reflection

    • @papertigers
      link
      English
      61 year ago

      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.

      • @starkcommandoOP
        link
        English
        21 year ago

        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.

        • @starkcommandoOP
          link
          English
          31 year ago

          The 3rd option worked. Thanks for your help!