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

    Two Firewall, Two Separate WAN, One virtual LAN Gateway IP

    HA/CARP/VIPs
    3
    4
    890
    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
      chock-a-block
      last edited by

      Per the title, I have two pfsense firewalls, each has a WAN address from different providers.

      LAN 192.168.1.x -> pf1 -> WAN 1.2.3.4
      LAN 192.168.1.x -> pf2 -> WAN 5.6.7.8

      Gateway Groups work flawlessly if I set the LAN gateway address as ONE of the firewalls. If I use gateway groups in both firewalls and a CARP VIP as the LAN gateway, the state of WAN interfaces isn't synced and this impacts service in unexpected ways.

      LAN          pf1 –->WAN
          | 
        vip gw----|
          |
      LAN          pf2 ---->WAN

      The goal is: when a WAN interface goes down, just move all traffic to the other firewall. I'm sure I'm not thinking about this the right way using the tools available in pfsense.  Help me get unstuck.

      1 Reply Last reply Reply Quote 0
      • awebsterA
        awebster
        last edited by

        Each pfsense has a separate WAN connection with a separate provider, yet you have them configured as a cluster?
        Is so, what you are trying to do doesn't make sense, there is no state information that can be shared because each one has a different WAN connection.

        –A.

        1 Reply Last reply Reply Quote 0
        • C
          chock-a-block
          last edited by

          I guess I was wrong to use a CARP VIP then?  There's no rule that says it has to be a cluster.

          If there's another way to share a VIP that a pfsense app can manage, then I'm wide open to that.

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

            Yes, there is. Configure your machines as real HA with CARP as it should be:
            https://doc.pfsense.org/index.php/Configuring_pfSense_Hardware_Redundancy_(CARP)

            And then set up a Multi-WAN configuration with the two ISPs:
            https://doc.pfsense.org/index.php/Multi-WAN

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