Connect two openvpn servers

Posted on 2013-06-14
Last Modified: 2013-06-14

How can I connect two openvpn servers together - so that they are the client of each other as well, and so clients of each can talk to each other - please see attached.

They will also act as a fail over for each other, So Client 1 will connect to OpenVPN2 if OpenVPN1 goes down etc

Any ideas?

the second answer here: kind of is what I am after, but not sure from that how each openvpn server is connected to each other.

Question by:AUCKLANDIT
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
LVL 78

Accepted Solution

arnold earned 500 total points
ID: 39249193
On each OpenVPN "server" you need to setup the openVPN client component to the other to establish a site to site VPN.

You then within the push route rules for the connecting clients, include the IP segments of the remote openVPN server
LVL 20

Expert Comment

by:Daniel McAllister
ID: 39249258
Setting up 2 OpenVPN servers to talk to each other (and route between them) is not difficult (so long as the LAN routes are compatible)... the hard part will be the failover -- I'm not sure how that would work, because each OpenVPN server should have a unique set of keys.


PS: If you want to move forward with setting up the two OpenVPN servers & setting the routing to pass between them, I'd be happy to write a quick HOTWO (probably make an article of it)

Author Comment

ID: 39249362

I bought a couple of cheap VPS last night and had it working within minutes once I realised you can have client running on a Access Server as well.

The failover is just using DNS with users cert on both Access Servers - have done that before.

Author Closing Comment

ID: 39249365

Author Comment

ID: 39249531
I think I was a bit premature in accepting this one as thought I had it right but don't seem to.

I have opened another one:

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question