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

    Flush states when primary gateway is online after failover

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 2 Posters 747 Views
    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.
    • M
      MXNPD
      last edited by MXNPD

      I have a pfsense box that I use with my main ISP and a cellular backup. The failover works great if the main connection dies, however, I am running into trouble when the primary gateway comes back online. It doesn’t seem to flush the states from the failover connection so some traffic is still flowing through it, and given it is a cellular backup, I don’t want to use up that data if the primary is back online. Am I perhaps missing a setting to flush states once the primary gateway comes back online or is it somehow not implemented? Any help is appreciated!

      1 Reply Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8
        last edited by

        search the forum, there is a script somewhere
        basically it's normal behavior, until a state is active it will remain on the failover connection, when the state expire all new connection are made on the primary connection

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        M 1 Reply Last reply Reply Quote 1
        • M
          MXNPD @kiokoman
          last edited by

          @kiokoman So this actually isn't a feature that is implemented? That's insane, it can flush states when a gateway goes down but not when it comes back up... I'll see if I can find the script but wow... This is like basic failover functionality...

          1 Reply Last reply Reply Quote 0
          • kiokomanK
            kiokoman LAYER 8
            last edited by

            there are more info here
            https://forum.netgate.com/topic/84269/multi-wan-gateway-failover-not-switching-back-to-tier-1-gw-after-back-online/86

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            Please do not use chat/PM to ask for help
            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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