多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
查看当前系统 cat /etc/redhat-release 安装 `pip install shadowsocks` 配置 文件位置:`/etc/shadowsocks.json ` 内容如下: { "server":"your_server_ip", "server_port":8989, "local_address": "127.0.0.1", "local_port":1080, "password":"yourpassword", "timeout":600, "method":"aes-256-cfb", "fast_open": false, "workers": 1 } 各字段的含义: server:服务器 IP (IPv4/IPv6),注意这也将是服务端监听的 IP 地址 server_port:监听的服务器端口 local_address:本地监听的 IP 地址 local_port:本地端端口 password:用来加密的密码 timeout:超时时间(秒) method:加密方法,可选择 “bf-cfb”, “aes-256-cfb”, “des-cfb”, “rc4”, 等等。默认是一种不安全的加密,推荐用 “aes-256-cfb” fast_open:true 或 false works:works数量,默认为 1 多用户配置如下: { "server":"my_server_ip", "local_address": "127.0.0.1", "local_port":1080, "port_password": { "8381": "foobar1", "8382": "foobar2", "8383": "foobar3", "8384": "foobar4" }, "timeout":300, "method":"aes-256-cfb", "fast_open": false } 启动 ssserver -c /etc/shadowsocks.json -d start #启动 ssserver -c /etc/shadowsocks.json -d stop #停止 # bash: pip: command not found ~~~ wget https://bootstrap.pypa.io/get-pip.py python get-pip.py ~~~