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

    How to add OpenVPN Server failover link on Clients

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 892 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.
    • N
      nijaz
      last edited by

      Hi all,

      First I want to apologise if this has previously been asked. I have had trouble locating the info required!

      I have one pfSense server with local IP 172.16.0.1
      10 pfSense clients with local IP-s 172.16.1.1 - 172.16.11.1
      They are connected together over OpenVPN site-to-site
      This connection is working fine.

      I have 2 links on pfSense Server (primary and failover)
      What i want to do.

      I want to tell clients when OpenVPN server is unavailable on primary link, when primary link is down, that they connect to server using failover link.
      I Tryed adding multiple openVPN client connections and remote routs but that didnt work :(
      Is this possible, what is the best practise and how to do that?
      Thanks a lot

      1 Reply Last reply Reply Quote 0
      • I
        InAr
        last edited by

        Hi,

        I have a similiar configuration and have reconfigured my OpenVPN a few days ago according to this document : https://doc.pfsense.org/index.php/Multi-WAN_OpenVPN.
        It seems to be working. If I disconnect my first WAN connection on the OpenVPN Server side, the Client reconnects after a short time via the second link.
        If the first link is back up, when I disconnect the second link, the client switches back to the first link.

        With this configuration the client side won't reconnect automaticaly if the primary gets back online again..it stays on the second connection as long as it is available or until you reconnect the client side, but this is exactly how I want it to work.

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