0%

SSServer安装及简单配置

install

  • sudo apt-get install python-pip python-m2crypto
  • sudo pip install shadowsocks

    config

  • sudo nano /etc/shadowsocks.json
    1
    2
    3
    4
    5
    6
    7
    8
    {
    "server":"your_server_ip",
    "server_port":8000,
    "local_port":1080,
    "password":"your_passwd",
    "timeout":600,
    "method":"aes-256-cfb"
    }

command

  • start: sudo ssserver -c /etc/shadowsocks.json -d start
  • stop: sudo ssserver -d stop
  • restart: sudo ssserver -c /etc/shadowsocks.json -d restart

    log

  • cat /var/log/shadowsocks.log