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

    Do not flush states when backup WAN goes down

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 3 Posters 755 Views 3 Watching
    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.
    • E Offline
      ed-tech
      last edited by

      hi, i am having issue when my backup internet goes down because it flushes all the states and my phones keeps disconnecting. Is there a way to flush the states ONLY if my primary internet goes down. Thanks

      DaddyGoD 1 Reply Last reply Reply Quote 0
      • DaddyGoD Offline
        DaddyGo @ed-tech
        last edited by

        @edmond said in Do not flush states when backup WAN goes down:

        Is there a way to flush the states ONLY if my primary internet goes down.

        Hi,

        https://forum.netgate.com/topic/97243/state-killing-on-gateway-failure
        https://redmine.pfsense.org/issues/4709
        https://redmine.pfsense.org/issues/4286

        😉

        Cats bury it so they can't see it!
        (You know what I mean if you have a cat)

        1 Reply Last reply Reply Quote 0
        • stephenw10S Offline
          stephenw10 Netgate Administrator
          last edited by

          Yeah the only option there is 'flush states on gateway failure' and that will flush all states if any gateway goes down.
          You can mark the backup gateway as always up. But you won't see if it actually does go down.

          Steve

          E 1 Reply Last reply Reply Quote 0
          • E Offline
            ed-tech @stephenw10
            last edited by

            @stephenw10 is it better to check mark Disable Gateway Monitoring or Disable Gateway Monitoring Action

            1 Reply Last reply Reply Quote 0
            • stephenw10S Offline
              stephenw10 Netgate Administrator
              last edited by

              It's better to disable the action and keep the monitoring so you have data for the state of the interface in my opinion.

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                ed-tech @stephenw10
                last edited by

                @stephenw10 yes i think that is better, that solve the issue but it will be better i think if there is option to select flush states per each gateway. Thanks

                1 Reply Last reply Reply Quote 0
                • stephenw10S Offline
                  stephenw10 Netgate Administrator
                  last edited by

                  I agree that would/will be better. It was not possible to do that in pf when that code was added originally which is why it's like that.

                  Steve

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