__ _ _( )_( )_(_ _ _) Internet (_) (__) |.---'--------. .-----------.| WAN Router | | Computer || 192.0.2.1 | | 192.0.2.2 |'---.--------' '-----.-----' | | | |.---'-------------------'---.| 192.0.2.0/24 WAN Network |'------.--------------------' | | WAN (igb1).------'------------.| OPNsense Firewall || 192.0.2.3 || 192.168.0.1 |'------.------------' | LAN (igb0) |.------'---------------------.| 192.168.0.0/24 LAN Network |'----------------------------'
pass in quick on igb1 inet proto tcp from {{igb1:network}} to {{self}} port {443} keep statepass in quick on igb1 reply-to { igb1 192.0.2.1 } inet proto tcp from {any} to {{self}} port {443} keep state
With Multi-WAN you generally want to ensure traffic leaves the same interface it arrives on, hence reply-to is added automatically by default. When using bridging, you must disable this behavior if the WAN gateway IP is different from the gateway IP of the hosts behind the bridged interface.
Leave as 'default' to use the system routing table. Or choose a gateway to utilize policy based routing.