Gateway manually selected in firewall rule not enforeced? (preferential only)
-
Hello,
I have an interface with a pretty simple set of rules. Outbound WAN access is allowed through one rule only. On that rule, I defined a specific (virtual) gateway for it to use. As long as that gateway is online, it does just that--all traffic is routed through that gateway. However, when that gateway goes down, it fails over to the firewall's main gateway, and allows traffic to flow through there.
Shouldn't that traffic be blocked, if the selected gateway is unavailable? How can I cause this rule to only process the allow rule through the specified gateway? I want all traffic either going through that gateway, or being blocked outright.
Thank you!
-
@CyberMinion hi, I think you’re looking for https://docs.netgate.com/pfsense/en/latest/multiwan/policy-route.html#enforcing-gateway-use
-
@SteveITS said in Gateway manually selected in firewall rule not enforeced? (preferential only):
https://docs.netgate.com/pfsense/en/latest/multiwan/policy-route.html#enforcing-gateway-use
Yes, that is exactly what I needed! I guess I just don't know how to do research...
I tried adding a block rule for the default gateway, but I couldn't get it to hit that rule. I didn't know about the checkbox in System>advanced. It works perfectly.
Thank you!