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

    [HOWTO] Automatically switch default gateway

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 4 Posters 3.4k 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.
    • H
      hienmai
      last edited by

      Hi guys,

      As we know we can choose one default gateway from these gateways that pfSense has. However, is there anyway to automatically to switch the default gateway to another one if the current default gateway goes down?

      Thank you!

      1 Reply Last reply Reply Quote 0
      • F
        fragged
        last edited by

        Make a gateway group with desired tiers and fail over. Use policy routing to route traffic through that gateway group.

        1 Reply Last reply Reply Quote 0
        • pttP
          ptt Rebel Alliance
          last edited by

          System –>  Advanced -->  Miscellaneous  --> "Default gateway switching" (Enable default gateway switching)  ;)

          1 Reply Last reply Reply Quote 0
          • tuzsuzdeliT
            tuzsuzdeli
            last edited by

            is it possible to change default gateway from command shell ?

            the problem is:
            i have two different internet connections and i have to use Squid proxy.
            When i activate squid, it uses only default gateway.

            and i have to change active internet connection to other gateway at 7pm

            if there is an option to change default gw from command shell, i just add the command to cron and l'll solve the problem.

            Çözümün bir parçası değilsen, sorunun bir parçasısındır.

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