Getting Policy-Based Routing working for Incoming Connections with Multiple WANs

Started by mflage, April 13, 2020, 05:39:58 PM

Previous topic - Next topic
Hi!

I'm running OPNsense 20.1.4-amd64 on a PCEngines ACU box with three physical interfaces. I have two WANs defined in a migration period so I need my services/servers to be accessible on both WANs for a period while we migrate from the old to new the ISP. Currently I'm able to see incoming traffic, and the firewall also accepts it, but I never see any return traffic from my OPNSense device.

I have multiple gateways under System - Gateways - Single and both are in the state "Online". Under the firewall rules I have added explicit rules to match the incoming traffic on the WAN2 interface with the gateway of the new ISP configured - just to begin with I have added a pass rule for ICMP traffic. The Destination is set to "WAN2 address". But it still doesn't seem to be working.

Any ideas?

Got it working. I had set the gateway for the firewall rule on the WAN2 interface to the WAN2 gateway. Setting it back to default solved it.