How to balance multi wan in PFSense?
Go to System tab and select Routing option .Select gateway
tab and hit on + positive sign .A page open here select first Wan interface
,inter ISPR name and add gateway address and add description as you like then
save and apply changes.
Add same for second Wan interface.
Go to System tab and select Routing option .Select gateway
tab and hit on + positive sign .A page open here select first Wan interface
,inter ISPR name and add gateway address and add description as you like then
save and apply changes.
Note : don't select any one as a default in a balancing and failover condition.
Note : don't select any one as a default in a balancing and failover condition.
- Add interface
- Add ISPR name
- Add ISPR gateway IP
- Add description
- Save Setting
- Apply
Add three groups here.
One for Loadbalancing(add same tier for both interface)
One for Wan one failover(add different tiers for both interface like as add first one gateway on tier 1 and second one gateway on 2 tier)
One for Wan two failover(add different tiers for both interface like as add first one gateway on tier 2 and second one gateway on 1 tier)
Next Step…… Go on routing option and select Groups, hit on =
positive sign then a window appeared .Give a specific group name, add both Wan
gateway Tier add here.
Note: If we
select same Tier on both wan gateways it means Routing work as a load
balancing.
If select different Tiers it mean Routing work as a fail over Condition.
Link Priority
The priority selected here defines in what order fail over and balancing of links will be done. Multiple links of the same priority will balance connections until all links in the priority will be exhausted. If all links in a priority level are exhausted we will use the next available link(s) in the next priority level.
The priority selected here defines in what order fail over and balancing of links will be done. Multiple links of the same priority will balance connections until all links in the priority will be exhausted. If all links in a priority level are exhausted we will use the next available link(s) in the next priority level.
After that add description and save then apply setting.
Now the next step is to down Firewall tab and select Rule option.
In a firewall rule option select the LAN interface.Only one default added here that show on top.
Add three Firewall rules for accurate balancing.
First one rule for balancing
Second one for Wan 1 failover
Third one for Wan 2 failover
that rules have same setting but only one thing necessary that is gateway change.
In a first rule add gateway as "bothgateway".
In a second rule add gateway as "Wan 1 failover".
In a third rule add gateway as "Wan 2 failover".
you can see on a print screen
First Rule(Gateway)
Second rule(Gateway)
Third Rule(Gateway)
All these setting are relevant to load balancing.
Now the next step is to down Firewall tab and select Rule option.
In a firewall rule option select the LAN interface.Only one default added here that show on top.
Add three Firewall rules for accurate balancing.
First one rule for balancing
Second one for Wan 1 failover
Third one for Wan 2 failover
that rules have same setting but only one thing necessary that is gateway change.
In a first rule add gateway as "bothgateway".
In a second rule add gateway as "Wan 1 failover".
In a third rule add gateway as "Wan 2 failover".
you can see on a print screen
First Rule(Gateway)
Second rule(Gateway)
Third Rule(Gateway)
I savor, result in I discovered just what I used to
ReplyDeletebe taking a look for. You've ended my four day lengthy hunt! God Bless you man. Have a nice day. Bye
my website :: payday loan no faxing
ReplyDeleteHave a look at my blog; homepage
ReplyDeleteCheck out my web-site web site
ReplyDeleteFeel free to visit my blog post: web page
thanks for this guide. Helped me in getting my multi-wan working.
ReplyDeleteThe best pfsense loadbalancing and failover tutorial i have seen. Thank you.
ReplyDelete