Server selection based upon distance

Need help configuring your VPN? Just post here and you'll get that help.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
petka82
OpenVpn Newbie
Posts: 7
Joined: Fri May 13, 2011 5:28 pm

Server selection based upon distance

Post by petka82 » Fri May 13, 2011 5:37 pm

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

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

Re: Server selection based upon distance

Post by janjust » Fri May 13, 2011 8:44 pm

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).

Post Reply