Ubuntu下使用shadowsocks-qt5实现全局代理

安装shadowsocks-qt5

1
2
3
sudo add-apt-repository ppa:hzwhuang/ss-qt5
sudo apt-get update
sudo apt-get install shadowsocks-qt5

全局代理1

1
2
3
4
5
sudo apt-get install python-pip
sudo pip install --upgrade pip

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

系统点击System settings > Network > Network Proxy,选择 Method 为 Automatic,设置 Configuration URLautoproxy.pac 文件的路径,点击 Apply System Wide


  1. https://www.litcc.com/2016/12/29/Ubuntu16-shadowsocks-pac/↩︎