lixmet
lixmet
发布于 2周前

CentOS安装配置shadowsocks服务端

安装:

yum install python-setuptools
easy_install pip
pip install shadowsocks

配置:

vi /etc/shadowsocks.json

填入以下内容:

{
    "server":"服务器IP地址",
    "server_port":服务端口号,
    "local_address": "127.0.0.1",
    "local_port":1080,
    "password":"连接密码",
    "timeout":300,
    "method":"加密方式",
    "fast_open": false
}

运行:

ssserver -c /etc/shadowsocks.json -d start

更多信息请参阅:https://github.com/shadowsocks/shadowsocks/wiki/Configuration-via-Config-File