[code]sudo apt-get shadowsocks
[code]{ "server":"server_ip", "server_port":server_port, "local_address": "127.0.0.1", "local_port":1080, "password":"password", "timeout":300, "method":"aes-256-cfb" }
[code]nohup sslocal -c ./config.json
[code]sudo apt-get install polipo編輯Polipo配置文件:
[code]sudo gedit /etc/polipo/config修改其內容為:
[code]# This file only needs to list configuration variables that deviate # from the default values. See /usr/share/doc/polipo/examples/config.sample # and "polipo -v" for variables you can tweak and further information. logSyslog = false logFile = "/var/log/polipo/polipo.log" socksParentProxy = "127.0.0.1:1080" socksProxyType = socks5 chunkHighMark = 50331648 objectHighMark = 16384 serverMaxSlots = 64 serverSlots = 16 serverSlots1 = 32 proxyAddress = "0.0.0.0" proxyPort = 8123重啟Polipo:
[code]/etc/init.d/polipo restart export http_proxy="http://127.0.0.1:8123"若使用Firefox浏覽器,需安裝一個代理插件,比如 Autoproxy
設置代理服務器地址,即為 127.0.0.1,端口 8123,方式為 Http