Page 1 of 1

Server selection based upon distance

Posted: Fri May 13, 2011 5:37 pm
by petka82
Hello everyone!

I have a small VPN network that uses 2 servers (the third one is in progress). Everything works just fine although I could not find how to force the client to connect to a particular VPN server. The selection would be based upon distance "ping value".

This means that if the user in a remote location then he would connect to a server that is responding faster than others.
That would load balance my clients properly as well as enable accesses and speed up the whole process.

Is it possible in openvpn ?

Peter

Re: Server selection based upon distance

Posted: Fri May 13, 2011 8:44 pm
by janjust
nope this is not possible ; remote hosts can be selected based on DNS names, but not on other characteristics. it should not be too hard to patch openvpn to take this into account, but I doubt that it will end up in any official builds (soon).