shadowsocks和polipo配置

上github速度太慢。直接把shadowsocks架在龙芯上面了。
记录一下config文件。
config.json

1
2
3
4
5
6
7
8
9
{
"server":"your_server",
"server_port":port,
"local_address":"0.0.0.0",
"local_port":7070,
"password":"passwd",
"timeout":600,
"method":"aes-256-cfb"
}

polipo.config

1
2
3
socksParentProxy = "127.0.0.1:7070"
socksProxyType = socks5
proxyAddress = 0.0.0.0

运行:

1
2
nohup sslocal -c config.json &
nohup polipo -c polipo.config &

polipo 默认端口在8123