linux上pia-vpn路由的配置和连接工具
pypia的Python项目详细描述
为到专用Internet访问服务器的OpenVPN路由配置NetworkManager密钥文件。
Pypia会自动检测您的操作系统。目前支持的发行版有fedora、manjaro、ubuntu、elementary os、antergos、linuxmint、opensuse、kali、arch、centos。
除了配置NetworkManager密钥文件外,还可以调用此模块来ping所有PIA终结点、连接到最快的端口、连接到随机服务器等。有关详细说明和用法,请使用pypia–help。
usage: pypia.py [-h] [-i] [-p] [-s] [-r {us,all,int}] [-f] [-d]
- optional arguments:
-h, --help show this help message and exit -i, --initialize configure pia vpn routes as networkmanager keyfiles. use this flag on first run and anytime you want to refresh pia vpn routes -p, --ping ping each vpn server and list latencies -s, --shuffle connect to or shuffle a random vpn -r, --region “us” for US only, “int” for non-US, “all” for worldwide -f, --fastest connect to network with lowest ping latency -d, --disconnect disconnect current PIA vpn connection