Skip to content

Instantly share code, notes, and snippets.

@mohamadaliakbari
Last active May 27, 2018 19:21
Show Gist options
  • Save mohamadaliakbari/2e9961d2e905fce35ff37a00ffec8542 to your computer and use it in GitHub Desktop.
Save mohamadaliakbari/2e9961d2e905fce35ff37a00ffec8542 to your computer and use it in GitHub Desktop.
How to install shadowsocks clients

Windows

Download: https://github.com/shadowsocks/shadowsocks-windows/releases

Ubuntu

Server

Install latest version of shadowsocks using pip3

$ sudo apt-get install python3-pip
$ pip3 install --upgrade pip
$ pip3 install -U git+https://github.com/shadowsocks/shadowsocks.git@master

Run server in background

$ go/bin/shadowsocks-server -p [port] -k [pass] > log &

Client

Create shadowsocks configuration file nano /etc/shadowsocks.json

{
   "server":"[server ip address]",
   "server_port":[server-port],
   "local_port":[local-port],
   "password":"[password]",
   "timeout":600,
   "method":"aes-256-cfb"
}

Run shadowsocks client

$ sslocal -c /etc/shadowsocks.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment