@tangyikejun
2019-10-15T10:02:33.000000Z
字数 614
阅读 1633
VPN
Centos
yum install python-setuptools && easy_install pip
pip install git+https://github.com/shadowsocks/shadowsocks.git@master
Debian/Ubuntu
apt-get install python-pip
pip install git+https://github.com/shadowsocks/shadowsocks.git@master
ssserver -h
mkdir /etc/shadowsocks
touch /etc/shadowsocks/config.json
在 config.json 中填入配置
{
"server":"0.0.0.0", ##服务器ip地址
"server_port":443, ##代理端口,客户端访问的端口
"local_address":"127.0.0.1",
"local_port":1080, ##本地监听端口
"password":"123456", ## 连接密码
"timeout":300,
"method":"aes-256-cfb", ## 加密方式
"fast_open":false,
"workers": 1
}
注:json没有注释,所以配置的时候 ## 部分内容要删掉