Skip to content

Instantly share code, notes, and snippets.

@goooooouwa
Last active January 25, 2017 14:43
Show Gist options
  • Save goooooouwa/1cf1cb4d3545006bf67784c6e2945382 to your computer and use it in GitHub Desktop.
Save goooooouwa/1cf1cb4d3545006bf67784c6e2945382 to your computer and use it in GitHub Desktop.
How to use shadowsocks

Server Side

Install

Mac

easy_install pip pip install shadowsocks

Linux

apt-get install python-pip pip install shadowsocks

Usage

command line config

ssserver -p 443 -k password -m aes-256-cfb

or with config file

// in config.json
{
"server”:”192.168.31.233”,
"server_port":8000,
"local_address":"127.0.0.1",    // these 2 config are actually for client
"local_port":1080,    // just put it here for convinence
"password":"your-password",
"timeout":600,
"method":"aes-256-cfb"
}

ssserver -c ./config.json

Client Side

Install on Linux

sudo add-apt-repository ppa:hzwhuang/ss-qt5
sudo apt-get update
sudo apt-get install shadowsocks-qt5

Usage

  • Open Shadowsocks-Qt5, Add connection based on the config in server-side.
  • Open System Settings > Network > Proxy, In Socks Host, fill ‘127.0.0.1’ and ‘1080’ (based on client-side configuration)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment