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, --helpshow 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, --pingping each vpn server and list latencies
-s, --shuffleconnect to or shuffle a random vpn
-r, --region“us” for US only, “int” for non-US, “all” for worldwide
-f, --fastestconnect to network with lowest ping latency
-d, --disconnect
disconnect current PIA vpn connection

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何使用Ibatis在插入时返回ID(使用返回关键字)   java(org.hibernate.TransactionException)org。冬眠TransactionException:事务未成功启动   java小程序jwindow始终位于JNLP顶部   在Java中重新解析JSON对象?   java单击后将ListView数据移动到新屏幕   Mule ESB中的java WSA寻址特性   Java,对象编程:获取返回0值的方法   hibernate的Java通用问题,如何处理T get(K id)   java在使用超级CSV读取CSV时忽略引用   ssh使用Java远程运行命令   java如何向具体用户发送websocket消息?   在JAVA中,我可以在不指定的情况下使用条件运算符吗?