暗无天日

=============>DarkSun的个人博客

把Orangepipc2打造成shadowsocks服务器

  1. 安装shadowsocks

    sudo apt install shadowsocks-libev
    

    会在 /usr/bin 下创建两个文件: ss-localss-server

  2. 创建Shadowsocks配置文件 "/etc/shadowsocks-libev/jp1.json"

    {
        "server": "jp1-sta9.27dzn.site",
        "server_port": 17588,
        "local_address": "0.0.0.0",
        "local_port":1080,
        "password":"密码",
        "timeout":300,
        "method": "chacha20-ietf-poly1305",
        "fast_open": false,
        "workers": 1
    }
    
  3. 启动服务

    nohup ss-local -c /etc/shadowsocks-libev/jp1.json &
    
  4. 设置自动启动服务

    sudo systemctl enable shadowsocks-libev-local@jp1.service 
    sudo systemctl start shadowsocks-libev-local@jp1.service