Anson2048 of 智慧军团
8/26/2016 - 4:30 AM

shadowsocks installation (cli & gui)

shadowsocks installation (cli & gui)

# Shadowsocks Installation (CLI)
# ##############################
# install shadowsocks
sudo apt-get update
sudo apt-get install python-pip
sudo pip install shadowsocks

# edit config file
sudo vim /etc/shadowsocks.json

# put below config into shadowsocks.json, save and exit
{
    "server":"yoursite.com",
    "server_port":8388,
    "local_address": "127.0.0.1",
    "local_port":1080,
    "password":"yourpassword",
    "timeout":300,
    "method":"aes-256-cfb",
    "fast_open": true
}

# start shadowsocks server
sudo ssserver -c /etc/shadowsocks.json -d start

# start shadowsocks client
sudo sslocal -c /etc/shadowsocks.json -d start

# Shadowsocks Installation (GUI)
# ##############################
# install shadowsocks
sudo add-apt-repository ppa:hzwhuang/ss-qt5
sudo apt-get update
sudo apt-get install shadowsocks-qt5