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

    https://www.reddit.com/r/PFSENSE/comments/1mkz5f2/big_cluster_of_two_gateways_and_failover/

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 17 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.
    • S Offline
      sandsjh
      last edited by

      Here is my current config file. The gateway groups are not showing in that tab nor the routing tab. Any help is appreciated.
      https://pastebin.com/TLv2tmEe

      I’m setting up failover between two internet connections on pfSense 24.03.1 using the shell. Below are the details and requirements:
      Setup:

      Primary Internet: WAN (Verizon DHCP)
      Secondary Internet: OPT (T-Mobile DHCP)
      Note: No gateway group currently exists. I’m unsure if one is needed.

      Requirements for 172.16.43.32/29 and 172.16.43.80/28:

      Use WAN as the primary connection.
      Switch to OPT if WAN is unavailable.
      Automatically switch back to WAN when it becomes available.
      Configure WAN to detect internet connectivity (e.g., ping test or similar).

      Requirements for 172.16.43.116/28:

      Use OPT as the primary connection.
      Switch to WAN if OPT is unavailable.
      Automatically switch back to OPT when it becomes available.
      Configure OPT to detect internet connectivity (e.g., ping test or similar).

      Questions:

      How can I configure this via the pfSense shell?
      Do I need to create a gateway group for failover?
      What commands or scripts are needed to set up gateway monitoring and failover rules?

      Any step-by-step guidance or shell commands would be greatly appreciated!

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