Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    WAN ip redirects to webgui when on LAN

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 Posters 764 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tobywhiting10T
      tobywhiting10
      last edited by

      I'm trying to set up a website running an examp

      I am using a no-IP dynamic DNS service. if you are outside the network and go to the domain (example.com) everything works fine. The port forwarding in pfsence sends all the traffic from the no-IP service over to the computer on the lan network hosting the website. however, if you are connected locally in the network whenever you type example.com(or the wan ip) into a browser Pfsense redirects you to the web GUI login page instead of sending you through the port forwarding and showing the website. I have got a feeling this has something to do with Nat reflection however I believe it to be disabled. Additionally, there is no port forwarding in place that could be causing this.

      How do I stop Pfsense from redirecting you to the web GUI login page if you use the Wan IP.

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @tobywhiting10
        last edited by

        @tobywhiting10 best not to use the wanip, you should setup a host override so that fqdn your using when local points to the local IP.

        But if you want to hit the wan and get sent back in you need to setup nat reflection.

        https://docs.netgate.com/pfsense/en/latest/recipes/port-forwards-from-local-networks.html#accessing-port-forwards-from-local-networks

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 1
        • tobywhiting10T
          tobywhiting10
          last edited by

          thanks this worked perfectly

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.