OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: afan on January 24, 2021, 11:58:55 AM

Title: [Resolved] "Flush all states when a gateway goes down" setting equivalent
Post by: afan on January 24, 2021, 11:58:55 AM
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!
Title: Re: "Flush all states when a gateway goes down" setting equivalent
Post by: afan on January 24, 2021, 12:09:12 PM
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.
Title: [Resolved] "Flush all states when a gateway goes down" setting equivalent
Post by: Greelan on January 24, 2021, 12:11:53 PM
See under Firewall>Settings>Advanced>Kill states. This is done automatically for monitored gateways unless you disable it

Edit: snap