flush states after gateway change



  • hey everyone,
    so i have set two internet connection in failover mode (gateway groups) ...
    what i want is for states to get flushed when ever gateways change ...
    so something like my wireguard connection just sees a few dropped packets and reconnects without me manually reconnecting the connection ... hope that makes sense ...
    i can do half the job by enabling "flush states when gateway goes down" but i cant find a "flush gateways when gateway comes back online" ....



  • @crash0 Well, if your failover group dictates so, and depending on stickiness timeout
    connectios will return to the first gw at some point.
    However disrupting communications because the previous gw is again available
    is creating intermittent connectivity issues and should be avoided.



  • hey ,
    my situation is im always connected to a wireguard server wire guard can roam between ips so ill always have one public ip...
    but with the current gateway group fail-over behavior when first gateway goes down ill get timeout until i reconnect my vpn ... reconnecting manually is one thing i dont want to do ...
    if i enable "flush states when gateway goes down" when im switching from gateway1>gatewway2 its fine and i roam but when gateway 1 comes back online i dont roam back to it...
    so what i want is do "flush states whenever gateway changes" is it possible via gui ? can i write a script to do that?


Log in to reply