第一步,安装配置shadowsocks;第二步,安装配置privoxy。

shadowsocks: > bash > apt-get -y install python-pip > pip install shadowsocks > sudo nano /etc/shadowsocks.json > { > "server":"server-ip", > "server_port":port, > "local_address": "127.0.0.1", > "local_port":1080, > "password":"your-password", > "timeout":600, > "method":"aes-256-cfb" > } > #To run in the background > sslocal -c /etc/shadowsocks.json -d start > #Auto Start the Client on System Boot > nano /etc/rc.local > sslocal -c /etc/shadowsocks.json -d start >

privoxy:

apt-get -y install privoxy
nano /etc/privoxy/config
forward-socks5t   /               127.0.0.1:1080 .
forward-socks5   /               127.0.0.1:1080 .
listen-address  127.0.0.1:8118
/etc/init.d/privoxy start