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

Is this multi-WAN setup correct?

Scheduled Pinned Locked Moved Routing and Multi WAN
3 Posts 2 Posters 1.3k 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.
  • I Offline
    IceCub
    last edited by Nov 20, 2013, 11:49 AM Nov 20, 2013, 11:42 AM

    Hello,

    I have to setup a pfSense box to do LoadBalancing & Failover for 4 WAN connections, and I'm trying to wrap my head around the Tier system.

    The Load Balancing part was pretty straight forward, but I'm not sure how to setup the Failover part.
    Basically, in case one WAN goes down I want the other three to take over and load balance between them.

    Here's how my setup looks so far (it's in a VM for the moment):

    Is this correct?

    Thank you.

    1 Reply Last reply Reply Quote 0
    • N Offline
      Nachtfalke
      last edited by Nov 20, 2013, 9:11 PM

      You did the Multi-WAN setup like it was on pfsense 1.2.x I think.

      Since pfsense 2.x you probably only need one or two groups to get this working.

      LoadBalancing and Failover is working this way:
      All gateways in a group with the same Tier do loadbalancing. If one or more of these gateways go down all other working gateways with the same tier do loadbalancing.

      If all gateways with Tier 1 are down then pfsense switches to the next higher Tier (Tier2) and uses the gateways in Tier 2. if there are all down it moves to Tier 3 and so on. If a gateway from a lower Tier comes back up it switches to this gateways.

      So if you put all your 4 WAN connections into a group and all gateways have the same Tier then these do loadbalancing and if one GW hoes down the other 3 WAN connectiongs do loadbalancing.

      If you use "Sticky connections" on SYSTEM –> ADVANCED then this one group will be enough.
      If you do not use sticky connections you should create another group which will handly traffic for https and other secure protocols because https and other secure connections do not like loadbalancing because the IP switches.

      So you should create a second Loadbalancing group and put all 4 WAN into this group and all have a different tier.
      You then need to select this group as the gateway in your firewall rules for https traffic. So all https traffic users the WAN with Tier 1, if this WAN will go down the group switches to another WAN with Tier 2 and so on.

      Good luck!

      1 Reply Last reply Reply Quote 0
      • I Offline
        IceCub
        last edited by Nov 20, 2013, 9:57 PM

        Thank you. That is very helpful.

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received