CentOS7使用shadowsocks

开始安装

  1. 原创作者

  2. 安装脚本

    cd /root
    curl https://note.so1234.top/linux/shadowsocks.sh -o /root/shadowsocks.sh
    chmod -R 755 /root/shadowsocks.sh
    ./shadowsocks.sh
    
  3. 修改账号密码

    vi /etc/shadowsocks.json
    
    {
        "server":"0.0.0.0",
        "server_port":1103,
        "local_address":"127.0.0.1",
        "local_port":1080,
        "password":"**************",
        "port_password":{
             "1104":"**************",
             "1105":"**************",
             "1106":"**************",
             "1107":"**************",
             "1108":"**************",
             "1109":"**************",
             "1110":"**************"
        },
        "timeout":300,
        "fast_open":true,
        "method":"aes-256-gcm"
    }
    
    ESC
    :wq
    
  4. 启动与停止

    # 启动
    /etc/init.d/shadowsocks start
    # 停止
    /etc/init.d/shadowsocks stop
    # 重启
    /etc/init.d/shadowsocks restart
    # 状态
    /etc/init.d/shadowsocks status
    
Copyright © 豆包嘿嘿~ 2012-∞ 冀ICP备17033181号 all right reserved,powered by Gitbook修订: 2020-11-09 01:59:58

results matching ""

    No results matching ""