Setup shadowsocks in Ubuntu 16.04 server [client & server]

1.  Setup Server
*Install shadowsocks
> apt-get install shadowsocks

*Configure config file in /etc/shadowsocks/config.json
{
    "server":"Your server ip",
    "server_port":your server port,
    "local_address": "127.0.0.1",
    "local_port":1080,
    "password":"You Password",
    "timeout":300,
    "method":"aes-256-cfb",
    "fast_open": false,
    "workers": 1

}

*Restart service
> sudo /etc/init.d/shadowsocks restart

2. Setup Client
*Install shadowsocks client
>sudo apt-get install python-pip
>sudo pip install shadowsocks

*Create config file in /etc/shadowsocks.conf.json
{
    "server":"Your server ip",
    "server_port":your server port,
    "local_address":"your local ip",
    "local_port":your local port,
    "password":"Your password",
    "timeout":300,
    "method":"aes-256-cfb",
    "fast_open":false

}

*Start client
> sslocal -c /etc/shadowsocks.conf.json

评论

此博客中的热门博文

Openwrt路由器上配置shadowsocks透明代理+gfwlist(PAC)

Configure shadowsocks transparent proxy + gfwlist(PAC) on OpenWRT Router

Using Haproxy + shadowsocks (ha + ss) to setup multi ss backend and load balance