[Resolved] "Flush all states when a gateway goes down" setting equivalent

Started by afan, January 24, 2021, 11:58:55 AM

Previous topic - Next topic
Hi all,

Coming from pfSense, I'm looking for an equivalent setting of "Flush all states when a gateway goes down" (pfSense: System -> Advanced -> Miscellaneous).
I needed to use this setting as my SIP trunk would stop working periodically.

Is there some equivalent setting in OPNsense to this? Or is this included in the "Allow default gateway switching" setting ("If the link where the default gateway resides fails switch the default gateway to another available one."), and hence should this one be set instead?

Thanks!

Found it: on OPNsense, the setting is at a slightly different location: Firewall: Settings: Advanced -> Gateway Monitoring, and is enabled by default.

QuoteDisable State Killing on Gateway Failure
The monitoring process will flush states for a gateway that goes down if this box is not checked. Check this box to disable this behavior.

See under Firewall>Settings>Advanced>Kill states. This is done automatically for monitored gateways unless you disable it

Edit: snap