shadowsocks启动停止重启等指令
root权限下运行
启动:
/etc/init.d/shadowsocks start停止:
/etc/init.d/shadowsocks stop重启:
/etc/init.d/shadowsocks restart状态查询:
/etc/init.d/shadowsocks status配置文件路径:
/etc/shadowsocks.json多用户设置:
{
"server":"0.0.0.0",
"local_address":"127.0.0.1",
"local_port":1080,
"port_password":{
"8989":"password0",
"9001":"password1",
"9002":"password2",
"9003":"password3",
"9004":"password4"
},
"timeout":300,
"method":"your_encryption_method",
"fast_open": false
}注:port_password分别设置外网端口和对应密码,method设置的是密码加密模式:
chacha20-ietf-poly1305,aes-256-gcm,rc4,aes,bf,camellia,salsa20,chacha20,xchacha20