更换$$服务端口
编辑$$配置文件:# vi /etc/$hadow$ocks.json
修改”server_port”: xxxx为一个非常用端口,保存。格式如下:
{
"server":"0.0.0.0",
"server_port": xxxx,
"local_address":"127.0.0.1",
"local_port":1080,
"port_password":"mypassword",
"timeout":600,
"method":"aes-256-cfb",
"fast_open":false
}
重启服务:# ssserver -c /etc/$hadow$ocks.json -d restart
查看端口:# lsof -i
: xxxx新端口号