安装SS服务器

安装:就3条命令就搞定了

yum install python-setuptools
easy_install pip
pip install shadowsocks

创建配置文件

vi /etc/shadowsocks.json

配置文件内容如下

{
    "server":"服务器的ip",
    "server_port":443,
    "local_address": "127.0.0.1",
    "local_port":1080,
    "password":"这个是密码啊",
    "timeout":300,
    "method":"aes-256-cfb",
    "fast_open": false
}

记得要开防火墙

firewall-cmd --zone=public --add-service=https --permanent
firewall-cmd --reload

启动和停止的命令

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