pac配置
基本軟件:
Ubuntu 16.04
Ss-Qt5
GenPACpip
配置流程
安裝軟件:
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"引用文件
設置–>系統設置–>網絡–>網絡代理,選擇自動;然后在文件目錄下將 autoproxy.pac 文件拖拽到“配置URL?” 后面的框中
完成
SS client配置
$ sudo apt-get update $ sudo apt-get install python-pip $ sudo pip install shadowsocks建立一個json文件:
$ sudo vim /etc/shadowsocks/config.json {"server":"server_ip","server_port":port,"local_address":"127.0.0.1","local_port":1080,"password":"port_password","timeout":300,"method":"aes-256-cfb"}啟動:
$ sudo sslocal -c /etc/shadowsocks/config.json -d start參考:http://www.linuxdiyf.com/linux/28807.html
總結
- 上一篇: PageRank 笔记
- 下一篇: 数字油田AI平台建设之视野、策略及切入点