linux ubuntu生成pac文件,实现代理

sudo pip install genpac
sudo pip install --upgrade genpac
 

sudo genpac --proxy="SOCKS5 127.0.0.1:1080" --gfwlist-proxy="SOCKS5 127.0.0.1:1080" -o autoproxy.pac --gfwlist-url="https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt"

基本就是上面的代码去实现。

猜你喜欢

转载自www.cnblogs.com/jocongmin/p/9022088.html