Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Flush states on gateway switching
« previous
next »
Print
Pages: [
1
]
Author
Topic: Flush states on gateway switching (Read 5498 times)
tcpip
Newbie
Posts: 22
Karma: 3
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
«
Last Edit: August 13, 2022, 06:35:23 pm by tcpip
»
Logged
hescominsoon
Jr. Member
Posts: 87
Karma: 1
CDTT - Certified Duct Tape Technician
Re: Flush states on gateway switching
«
Reply #1 on:
August 15, 2022, 02:52:00 am »
care to share the script?
Logged
dalton_lopes
Newbie
Posts: 10
Karma: 0
Re: Flush states on gateway switching
«
Reply #2 on:
July 29, 2023, 12:59:03 pm »
can you post here your script?
Logged
franco
Administrator
Hero Member
Posts: 17653
Karma: 1610
Re: Flush states on gateway switching
«
Reply #3 on:
September 08, 2023, 10:42:31 am »
There is a ticket for this.
https://github.com/opnsense/core/issues/6803
The design isn't clear yet but the use case is valid.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Flush states on gateway switching