Page 1 of 1

Feature idea: remote-random but select by latency

Posted: Fri Jul 31, 2020 3:20 pm
by mfelden
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

Re: Feature idea: remote-random but select by latency

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

Cheers,
James