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

    VIP for openvpn failover

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    2 Posts 2 Posters 1.7k 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
      necross
      last edited by

      Hi guys,
      I have two wan connections.
      gw1 is set to 192.168.1.252
      gw2 is set to 192.168.15.252

      GW1 is always stable (Cable connection)
      GW2 is an VDSL connection (very fast but due to our location it sometimes drops)

      At the moment, I have openvpn listening on GW1 only but it would be much nicer and faster if we can combine the two (failover) in case the VDSL drops.
      I have configured the openvpn and it works like a charm. the problem is that the cable modem is not fast enough and should work as a backup.
      What I was hoping to do is to create a vip (already done externally using DNS) but internally to set it up as a failover and set gw2 as a primary.

      Is that doable or am I asking too much?

      Cheers and thanks in advance,

      O.B

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        In 2.0.x that's done via routing protocol, most commonly OSPF. In 2.1 you can bind OpenVPN instances to a gateway group as another option.

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