OPNsense Forum

English Forums => General Discussion => Topic started by: WolfCoffee on February 05, 2022, 08:35:05 PM

Title: How to setup Dual want but only selected LAN IP to use second WAN?
Post by: WolfCoffee on February 05, 2022, 08:35:05 PM
Hello All


I'm using oPnsense latest version and I'm stuck.

I'm new to world of opnsesne and pfsense, till now I used only home based glorified switches/routers
I'm setting up 2 wans 2 subnets. I need all traffic to flow to WAN0, and only selected IP to use WAN1,
from multiply subnets.

How do I setup this?
Title: Re: How to setup Dual want but only selected LAN IP to use second WAN?
Post by: Stuzoo72 on February 06, 2022, 12:38:48 AM
Two outbound firewall rules that use the two different WAN Gateway.

FW rule on Internal Interface(s), I have assumed a single internal interface.
Source:Network1,Destination:*,Gateway:WAN1
Source:Network2,Destination:*,Gateway:WAN2

(Gateways can be setup in System/Gateways/Single, but auto-populate when WAN provides DHCP)
Title: Re: How to setup Dual want but only selected LAN IP to use second WAN?
Post by: Stuzoo72 on February 06, 2022, 12:41:34 AM
The source can be individual IP addresses or subnets. Use FW Aliases to set