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
    52 years ago

    Look for something called hairpin NAT or NAT reflection

    • @papertigers
      link
      English
      62 years 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
        22 years 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
          32 years ago

          The 3rd option worked. Thanks for your help!