- 秋水逸冰一键安装

原文: Shadowsocks Python版一键安装脚本
项目地址: shadowsocks_install

下载安装

wget --no-check-certificate -O shadowsocks.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks.sh
chmod +x shadowsocks.sh
./shadowsocks.sh 2>&1 | tee shadowsocks.log

配置

sudo vim /etc/shadowsocks.json

{
    "server":"0.0.0.0",
    "server_port":your_server_port,
    "local_address":"127.0.0.1",
    "local_port":1080,
    "password":"your_password",
    "timeout":300,
    "method":"your_encryption_method",
    "fast_open": false
}

相关命令

启动:/etc/init.d/shadowsocks start
停止:/etc/init.d/shadowsocks stop
重启:/etc/init.d/shadowsocks restart
状态:/etc/init.d/shadowsocks status


- 手动安装启动

安装

sudo pip install shadowsocks

启动

nohup ssserver -c /etc/shadowsocks.json > /dev/null 2>&1 &
Comments
Write a Comment