How do I seemlessly transfer a client between servers

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
psiphi
OpenVpn Newbie
Posts: 2
Joined: Tue Jun 11, 2013 2:28 am

How do I seemlessly transfer a client between servers

Post by psiphi » Thu Jun 13, 2013 12:48 am

We would like to implement OpenVPN in our environment such that our users can remote access our network on a 24x7 basis. The set-up works very well in the testing environment with multiple OpenVPN servers and the basic load balancing using multiple IPs that OpenVPN provides. However, in the case we want to shut down an OpenVPN server (because we don't want redundant servers during low usage times) we would like that users are not disconnected from our network, even temporarily.

Is it possible to "transfer" a client from one server to another without any network interruptions? Or is it possible to send a signal to a client to reconnect with another server?

I have read the documentation for OpenVPN and the management console, and tested somewhat, but the client connection to the network is temporarily broken when a server is shut down and the client has to connect to another server.

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: How do I seemlessly transfer a client between servers

Post by janjust » Thu Jun 13, 2013 12:05 pm

Is it possible to "transfer" a client from one server to another without any network interruptions? Or is it possible to send a signal to a client to reconnect with another server?
short answer : no

the client will always see some kind of network interruption. the best you can achieve is automatic failover to another server , which can be achieved using multiple 'remote VPNSERVER' statements in the client config file (or using multiple <connection> blocks).

psiphi
OpenVpn Newbie
Posts: 2
Joined: Tue Jun 11, 2013 2:28 am

Re: How do I seemlessly transfer a client between servers

Post by psiphi » Thu Jun 13, 2013 6:09 pm

short answer : no
Thank you. That's what I was expecting, but just wanted to make sure.

Post Reply