OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • [Resolved] "Flush all states when a gateway goes down" setting equivalent
« previous next »
  • Print
Pages: [1]

Author Topic: [Resolved] "Flush all states when a gateway goes down" setting equivalent  (Read 6781 times)

afan

  • Newbie
  • *
  • Posts: 26
  • Karma: 2
    • View Profile
[Resolved] "Flush all states when a gateway goes down" setting equivalent
« 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!
« Last Edit: January 24, 2021, 12:09:43 pm by afan »
Logged

afan

  • Newbie
  • *
  • Posts: 26
  • Karma: 2
    • View Profile
Re: "Flush all states when a gateway goes down" setting equivalent
« Reply #1 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.

Quote
Disable 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.
Logged

Greelan

  • Hero Member
  • *****
  • Posts: 1028
  • Karma: 72
    • View Profile
[Resolved] "Flush all states when a gateway goes down" setting equivalent
« Reply #2 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • [Resolved] "Flush all states when a gateway goes down" setting equivalent
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2