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

    WAN stop accepting traffic when LAN port disconnected

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    5 Posts 3 Posters 651 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.
    • S
      serbus
      last edited by

      Hello!

      I am new to pfsense. After evaluating the firewall on an old PC, I decided to move forward with a more router friendly form factor. I purchased a protectli FW4B and installed the latest pfsense [2.4.4-RELEASE-p3 (amd64) ] without issues.
      I am testing the build on my internal private network.
      The pfsense WAN IP is 10.12.12.213 and LAN is the default (192.168.1.1/24)
      I connected a laptop to the LAN port on the FW4B and performed the initial config in the WebConfigurator.
      I disabled the "Block private networks and loopback addresses" on the Interfaces -> WAN page so I could access the unit "externally".
      I created a NAT/rule to forward/permit HTTPS on the WAN IP to the LAN IP (192.168.1.1).
      I can access the admin interface from the WAN with no issues. All is well.
      The problem...
      When I disconnect the network cable to my laptop, which is connected to the LAN port, I can no longer access the FW4B from the WAN port. All access to the device on the WAN port stops.
      When I plug the laptop cable back into the LAN port, the WAN access starts working again.
      I tried assigning the LAN port to igb2 or igb3 but it did not change the behaviour.
      The logs in var/log do not show any obvious reasons why the traffic to the WAN would stop whe nthe LAN is unplugged.
      Ideas?

      Thanks!

      John

      Lex parsimoniae

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @serbus
        last edited by

        When you pull the plug the interface goes down. So the Interface IP is not available anymore.

        If you want to access the web configurator from the internet set up a VPN server on pfSense. So you‘d be able to access the GUI by the virtual VPN servers IP.

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

          @serbus said in WAN stop accepting traffic when LAN port disconnected:

          so I could access the unit "externally".

          You mean from your own network? This 10.12.12 network.. If so just allow webgui port to your wan address and access it via that.. There is little reason to port forward it to your lan IP.

          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 0
          • S
            serbus
            last edited by

            Hello!

            I removed the NAT and just setup a rule as you suggested, and it worked even when I pulled the LAN connection. It didnt occur to me that NAT/routing would stop working when the LAN interface went down. Doh!
            I was trying to use NAT to obscure the admin port on the WAN, but you are correct that the proper way to admin remotely is via a VPN. I will tackle that next.

            Thanks for your help!

            John

            Lex parsimoniae

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

              @serbus said in WAN stop accepting traffic when LAN port disconnected:

              obscure

              That is pointless. It does nothing other than make your setup more complex and more likely to make mistakes and be less secure.

              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 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.