In most cases VPN providers provide us multiple servers, but they don't provide a speed test tool to get the fastest of servers. Even if we can use ping
to test, regrettably the complex network environment in many cases make the server constantly changing line delay, Then use VPN Helper
can quickly connect the fastest one.
- PHP >= 5.6
$ curl -sS https://raw.githubusercontent.com/springjk/vpn-helper/master/installer | php
Test and connection
$ vpn run
Display VPN servers
$ vpn servers
Lists commands
$ vpn
Vpn helper version v1.2.0 build b5b6469
Usage:
command [options] [arguments]
Options:
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages
Available commands:
connection Connection a vpn server by connection name
help Displays help for a command
list Lists commands
ping Ping test all vpn servers and display result
run Ping test all vpn servers and connection the fastest one
servers Displays all vpn servers
MIT