When you need high availability for Internet access or want to improve your Internet bandwidth, you will need to implement Multi-WAN.
Important : it is recommended to use 2 Internet subscriptions with different ISPs and preferably with different technologies (optical fiber, VDSL, ADSL, ...).
So, if an operator has a problem in its internal networks and/or in its own cabling, the other pfSense WAN interface will allow you to continue accessing the Internet via the other operator.
Warning : to ensure high availability of Internet access, you could also use pfSense high availability.
So, if one pfSense machine fails, Internet access will still be available through the other pfSense machine.
However, this is not covered in our tutorial.
If you're interested, check out the official pfSense documentation : High Availability Configuration Example with Multi-WAN | pfSense Documentation.
For this tutorial, we installed a basic installation of pfSense.
Our pfSense machine therefore currently has 2 logical interfaces: WAN and LAN.
Add a new network adapter to your pfSense machine and connect it to the Box of your 2nd ISP.
Note: in our case, pfSense runs in a virtual machine, so we connect this new network adapter to the virtual network "WAN2 Network" which allows us to use (virtually) the 2nd connection to the Internet.
Then, if you added the network adapter without turning off the pfSense machine, you will need to restart pfSense for it to be seen.
To do this, go to "Diagnostics -> Reboot" and click Submit.
The pfSense machine will restart and you will automatically arrive on its login page in 90 seconds (1min30).
Now that the pfSense machine has been restarted, go to: Interfaces -> Assignments.
An "Available network ports" section appears with your new network card (vmx2 in our case).
Click "Add" to assign it to a new logical interface.
By default, your new network card will be assigned to a logical interface named "OPT1".
Click on its name (OPT1) or go to: Interfaces -> OPT1.
On the "Interfaces / OPT1" page that appears, configure these settings:
Since we have selected "IPv4 Configuration Type: Static IPv4", a "Static IPv4 Configuration" section appears.
In this section, indicate the static IPv4 Address to use for this WAN2 interface, as well as the associated subnet (in our case "/24" since the network used is "192.168.22.x" ).
Then, click on the "Add a new gateway" button to indicate the internal IP address of the 2nd ISP Box.
Note: as noted by pfSense, specifying a parent gateway (IPv4 Upstream gateway) means that pfSense will consider this interface as a WAN interface.
Which is the desired effect in this case.
In the "New IPv4 Gateway" window that appears, configure the settings like this:
Then, click: Add.
The name and IP address of the created parent gateway appear for the "IPv4 Upstream gateway" setting.
At the bottom of the page, click Save.
At the top of the page, click: Apply Changes.
Your WAN2 interface is enabled and configured.
When using multiple WAN interfaces, you must specify at least one DNS server per WAN interface.
To do this, go to: System -> General Setup.
In the "DNS Server Settings" section of the "General Setup" page that appears, configure the "DNS Servers" setting like this:
Note: as noted by pfSense, when using multiple WAN interfaces, there must be at least one DNS server per gateway.
At the bottom of the page, click Save.
The DNS configuration has been saved for your interfaces: WAN and WAN2.
Firewall 8/8/2025
Firewall 5/30/2025
Firewall 7/16/2025
Firewall 7/9/2025
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
You must be logged in to post a comment