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

    Gateway auto reconnect

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    4 Posts 2 Posters 1.1k 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.
    • G
      gpfsenser
      last edited by

      I've had some internet instability on occasion. Most of the time my zabbix monitor shows just occasional packet loss. Things return to normal without any intervention. However, sometimes pfsense marks the wan gateway as 'down'. In those cases, for the past 4-5 times, manually forcing the wan as 'offline', and then 'online', brings the connectivity back instantly. What is the best way to automate this kind of thing? Netgate SG-1100

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @gpfsenser
        last edited by

        @gpfsenser What version of pfSense? Sounds similar to what we saw at a client but it was supposed to be fixed in 21.02. Per that thread we ended up installing the cron package and a script to load that bit of PHP, which triggered pfSense to detect the gateway was up again.

        Or disable gateway monitoring so it's "always up."

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        G 1 Reply Last reply Reply Quote 1
        • G
          gpfsenser @SteveITS
          last edited by

          @steveits said in Gateway auto reconnect:

          fixed in 21.02

          I will try the cron route to see if that helps. Running 21.05.1-RELEASE (arm64) currently. This has been a chronic issue for me I'd say for years - pfsense does not like it when the internet is unavailable and things always get weird. ;-)

          G 1 Reply Last reply Reply Quote 0
          • G
            gpfsenser @gpfsenser
            last edited by

            @gpfsenser I've also added a 'gateway group' to see if this helps - seems to be a requirement to the fix. Even if it works, this certainly falls into the 'super ugly' category. Appreciate the quick reply. Everyone is using their home internet more than they ever expected - a good opportunity I hope for pfsense to polish off some of the rough edges.

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