How get back Disable State Killing on Gateway Failure function on 23.1.11

Started by dalton_lopes, July 29, 2023, 01:09:46 PM

Previous topic - Next topic
scenario

wan1 - fiber link
wan2 - 4G link

gateway group
wan1 - tier 1
wan2 - tier 2

when wan1 fails assume wan2 but states keeps in wan1
i need restart manually connections to use wan2
i really need kill states when wan1 fails and kill wan2 when wan1 back online

I need to enable the option "Kill states" but is not present

How get back this function without rollback version?


i need kill state (/sbin/pfctl -Fs) from offline gateway.
if i dont kill state all running connections dont change to the next gateway that i set in gateway group and i need the same thing when wan1 come back online.

i dont know what to do.

a simple router tplink dual wan works well with link backup configuration and the opnsense can not.

that's all i need

please help me

You can play with partially reverting this commit (sans the GUI configuration/conditional bits).

Much more preferable: figure out something with Services - Monit.

Otherwise, there's core/#6803 issue open.