Feature idea: remote-random but select by latency

Suggestions/comments/criticisms are welcome here

mfelden

Posts: 3
Joined: Fri Jul 31, 2020 2:54 pm

Post by mfelden » Fri Jul 31, 2020 3:20 pm
A cool feature would be something like remote-random but with latency selection.

In other words: When a profile has a bunch of servers listed and the remote-random statement exists, ping the endpoints first, filter reachable ones and then select the one with best latency. Make it optional because some use cases need true randomness.

Our use case is we have endpoints on several continents and the end-users are very mobile. Instead of having the user select a different profile based on where they are at we could provision one profile and the user's device will automatically pick the server with the lowest latency at each connection.

I googled around and I see some people experimented with something similar:

https://bsdrp.net/documentation/example ... tion_patch

https://github.com/paulgarnier/openvpn/ ... 1961cf7d2d

James

User avatar
Posts: 2312
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Mon Aug 03, 2020 6:02 am
Thanks for the feedback mfelden!

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
2 posts Page 1 of 1