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
  • 3
LVL 77

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Squid Connection Pools 3 43
reserve ip address for mac address in ubuntu dhcp server 2 53
Windows 10 VPN? 6 71
Configuring windows 7 host in Nagios 4 5 38
Secure VPN Connection terminated locally by the Client.  Reason 442: Failed to enable Virtual Adapter. If you receive this error on Windows 8 or Windows 8.1 while trying to connect with the Cisco VPN Client then the solution is a simple registry f…
Let’s list some of the technologies that enable smooth teleworking. 
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

947 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now