ShadowsocksR by Python

Install

git clone git@github.com:shadowsocksrr/shadowsocksr.git

Config

config.json

{
  "server": "123.123.123.123",
  "server_port": 8388,
  "method": "aes-256-cfb",
  "password": "password",
  "protocol": "origin",
  "protocol_param": "",
  "obfs": "plain",
  "obfs_param": "",

  "local_address": "127.0.0.1",
  "local_port": 1080
}
  1. Server IP address or domain
  2. Server port
  3. Method
  4. Password
  5. Protocol
  6. Protocol params
  7. Obfs
  8. Obfs Params
  9. Listen IP
  10. Listen Port

run

python /path/to/shadowsocksr/shadowsocks/local.py -c config.json

server

Write a supervisor /etc/supervisor/conf.d/ssr.conf file:

[program:ssr]
user=root
command=/usr/bin/python3 /path/to/shadowsocksr/shadowsocks/local.py -c /path/to/config.json
autostart=true
autorestart=true
startretries=5
redirect_stderr=true
stdout_logfile=/path/to/ssr.log

Make sure all the path is already exist.