分类 vpn 下的文章

以 ubuntu 为例

  1. apt-get install shadowsocks
  2. 修改配置文件 /etc/shadowsocks/config.json

    {
       "server":"your server ip",
       "server_port":8388,
       "local_address": "127.0.0.1",
       "local_port":1080,
       "password":"pwd",
       "timeout":20,
       "method":"aes-256-cfb",
       "fast_open": false,
       "workers": 1,
       "prefer_ipv6": false
    }
  3. 启动
    systemctl start shadowsocks

tips

  • 重启 systemctl reload shadowsocks
  • 查看状态 systemctl status shadowsocks
  • 停止 systemctl stop shadowsocks