代理服务器,可以通过ReGEX规则在远程服务器之间进行隧道传输。
pprox的Python项目详细描述
快速启动
$ pip3 install pproxy Successfully installed pproxy-1.9.5 $ pproxy Serving on :8080 by http,socks4,socks5 ^C $ pproxy -l ss://chacha20:abc@:8080 Serving on :8080 by ss (chacha20-py)
可选:(使用C密码时性能更佳)
$ pip3 install pproxy[accelerated] Successfully installed pycryptodome-3.6.4
应用OS系统范围代理:(MacOS、Windows)
$ pproxy -r ss://chacha20:abc@server_ip:8080 --sys -vv
Serving on :8080 by http,socks4,socks5
System proxy setting -> socks5 localhost:8080
socks5 ::1:57345 -> ss server_ip:8080 -> slack.com:443
socks5 ::1:57345 -> ss server_ip:8080 -> www.google.com:443
..... (all local traffic log) ......
应用cli代理:(macos,linux)
$ export http_proxy=http://localhost:8080 $ export https_proxy=http://localhost:8080