wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-go.sh
chmod +x shadowsocks-go.sh
./shadowsocks-go.sh 2>&1 | tee shadowsocks-go.log
按照提示,安装过程过需要设置密码和端口,服务器端口默认8989,客户端端口默认1080。
卸载
./shadowsocks-go.sh uninstall
安装完成后即已后台启动 shadowsocks-go ,运行:
/etc/init.d/shadowsocks status
使用命令:
启动:/etc/init.d/shadowsocks start
停止:/etc/init.d/shadowsocks stop
重启:/etc/init.d/shadowsocks restart
状态:/etc/init.d/shadowsocks status
多用户多端口配置文件:
配置文件路径:/etc/shadowsocks/config.json
{
"port_password":{
"8989":"password0",
"9001":"password1",
"9002":"password2",
"9004":"password4"
},
"method":"aes-256-cfb",
"timeout":600
}
收藏哈!