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

    LAN interfaces that only route to a specific WAN interface

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 3 Posters 1.4k 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.
    • C
      codeblue2k
      last edited by

      Part of a consolidation project I need to pull two separate pfSense firewalls into a single firewall. But the LANs and WANs from each other need to operate separately from each other (i.e. the LANs from FW1 should only route to other LANs from FW1 or out thru the WAN from FW1 and the same goes forLANs from FW2). This will allow us to reconfigure all of our web applications one by one.

      Does anyone know the most efficient way to do this?

      FYI, the reason we need to consolidate is because one of the firewalls is having major issues and we don't have the funds to buy a new firewall as a 6 month bandaid.

      1 Reply Last reply Reply Quote 0
      • P
        pahowart
        last edited by

        Its pretty straight forward.

        1. Add the new lan interface and set it up with its own subnet and dhcp server if required.
        2. Add new wan interface.
        3. Under firewall rules set the LAN port to the respective wan gateway you want it to use.

        1 Reply Last reply Reply Quote 0
        • A
          Abid Zehri
          last edited by

          i have a little different Senior  i have 2 wan and 2 lan one lan1 have different subnet and second Lan have diff my multiple server place on Lan1 i wan one wan can provide the internet to lan and lan2 and second wan only provid server access to outside client but when i add second wan and add firwall rule and Nat rule but its not working
          pahowart can u please help

          Thanks

          1 Reply Last reply Reply Quote 0
          • P
            pahowart
            last edited by

            Creating a firewall for each LAN Interface and set the desired Gateway (Internet connection) under the advanced section of the firewall rule.

            1 Reply Last reply Reply Quote 0
            • C
              codeblue2k
              last edited by

              @pahowart:

              Creating a firewall for each LAN Interface and set the desired Gateway (Internet connection) under the advanced section of the firewall rule.

              So every rule has to be touched and modified… ouch. Thanks everyone for the input

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