Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    flush states after gateway change

    Routing and Multi WAN
    2
    3
    423
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      crash0
      last edited by

      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" ....

      N 1 Reply Last reply Reply Quote 0
      • N
        netblues @crash0
        last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • C
          crash0
          last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.