I am running a pfSense 2.3 box with 4 NICs. Now i have 2 different ISPs (one Cable & one DSL). How Can i configure, that all traffic from LAN1 goes ONLY over WAN1, and all traffic from LAN2 goes ONLY over WAN2? I Dont want any Failover or LoadBalancing, just seperate each Networks "Gateways". Here a simple diagram, on what i try to achieve.
Instead of ISP IP addresses as gateways, you could use two tier-based gateway teams.
Each gateway team will have the preferred ISP in tier 1, while the other ISP will be in tier 2.
- ISP1 tier 1
- ISP2 tier 2
- ISP2 tier 1
- ISP1 tier 2
In normal conditions, each LAN will use the tier 1 member of the team.
When ISP1 goes down, ISP2 will be used by both LAN1 and LAN2.
When ISP2 goes down, ISP1 will be used by both LAN1 and LAN2.
You can do that by changing the NAT rules. (This only works for IPv4)
Firewall --> NAT --> Outbound --> "Mode": Manual Outbound NAT rule generation (AON - Advanced Outbound NAT).
Now you can specify which subnet goes over which WAN interface:
Interface --> Choose WAN interface
Source --> Specify LAN subnet