what is shadowsocks?
A secure socks5 proxy,
designed to protect your Internet traffic.
server installation
1- Ubuntu 14.04 LTS
apt-get update apt-get install python-pip python-m2crypto supervisor pip install shadowsocks
2- On your server create a config file /etc/shadowsocks.json
{
"server":"my_server_ip",
"server_port":8388,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"mypassword",
"timeout":300,
"method":"aes-256-cfb",
"fast_open": false,
"workers": 1
}
3- Edit /etc/supervisor/conf.d/shadowsocks.conf
[program:shadowsocks] command=ssserver -c /etc/shadowsocks.json autorestart=true user=nobody
4- Add the following line into /etc/default/supervisor
ulimit -n 51200
5- Run
service supervisor start supervisorctl reload
Client Installation
1- Linuxmint 17
apt-get update apt-get install python-pip python-m2crypto pip install shadowsocks
2- On your server create a config file /etc/shadowsocks.json
{
"server":"my_server_ip",
"server_port":8388,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"mypassword",
"timeout":300,
"method":"aes-256-cfb",
"fast_open": false,
"workers": 1
}
3- Run Client
sslocal -c /etc/shadowsocks.json
if you want it to go background:
nohup sslocal -c /etc/shadowsocks.json > log &
4- For Firefox Install ProxySelector addon
Proxy Selector > Manage Proxies > Add
socks v5
127.0.0.1
port 1080
That’s all
You’re ready to use your new shadowsocks proxy.