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

    2 OpenVPN, 2 IP and failover

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 1.0k 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
      hakkerman
      last edited by

      I have two different OpenVPN links to the same server.
      One of links is indirect (because one of WAN's in MultiWAN is behind the NAT and the server is behind the NAT too - we have to use 3-rd party server in the case of fail).

      Now our server accessible with 2 different IP's:
      OpenVPN1 -> IP1
      OpenVPN2 -> IP2
      Usually we use only IP1, but when our primary ISP is down, we have to switch to IP2
      I'd prefer to have one virtual ip or something similar - which will route VirtualIP to IP1 in general situation and to IP2 when our primary ISP will be down.

      How to do this?

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