dual wan but not failover or balanced
-
Hello!
I would like to ask, if is there any way to make the following with pfsense:
i have 2 separate internet services and i would like to make a dual wan configuration, where vlan1 serve the isp1 and vlan2 serve the isp2? So separate gateways for vlan and lan?
Thanks
-
yes
-
@holest You can accomplish this by using the firewall rules that are on each interface. On the LAN interface, in the LAN to any rule, add the ISP1 gateway address. Then on the VLAN interface, in the VLAN to any rule, add the ISP2 gateway address.
When this is done, check on the hosts that are on each network, you should get the proper gateways. Even a check on an external website "what's my IPv4 address" should show you the different ISP addresses.
This is called policy routing, and you can use this to send an entire network (or individual machines/computers with some additional fine-tuned firewall rules) out a different gateway that you have connected to your pfsense box.
https://docs.netgate.com/pfsense/en/latest/multiwan/policy-route.html
-
@akuma1x Thank you! It's working!