1
22.7 Legacy Series / Flush states on gateway switching
« on: August 12, 2022, 06:47:53 pm »
Hey guys,
since the option "Disable State Killing on Gateway Failure" is removed* since a while now, I was wondering how to get back the "old" behaviour without the option beeing ticked. I just use default gateway switching with my dual WAN setup and have a metered LTE connection as backup. As soon as my primary WAN comes back online I want all states to be killed, so that there is no traffic beeing routed via my backup link any longer.
Thanks!
EDIT: I wrote a script to handle this for now.
*https://forum.opnsense.org/index.php?topic=28179
since the option "Disable State Killing on Gateway Failure" is removed* since a while now, I was wondering how to get back the "old" behaviour without the option beeing ticked. I just use default gateway switching with my dual WAN setup and have a metered LTE connection as backup. As soon as my primary WAN comes back online I want all states to be killed, so that there is no traffic beeing routed via my backup link any longer.
Thanks!
EDIT: I wrote a script to handle this for now.
*https://forum.opnsense.org/index.php?topic=28179