配置文件shadowsocks.json
/etc/shadowsocks/config.json
{
"server":"my_server_ip",
"server_port":8388,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"mypassword",
"timeout":300,
"method":"aes-256-cfb",
"fast_open": false,
"workers": 1,
"prefer_ipv6": false
}
名称 解释
server 服务端监听地址
server_port 服务端端口
local_address 本地监听地址
local_port 本地端口
password 用于加密的密码
timeout 超时时间(秒)
method 默认为 aes-256-cfb,参阅 Encryption
mode 是否启用 TCP / UDP 转发,参阅 shadowsocks-libev(8)
fast_open 是否启用 TCP Fast Open
workers worker 数量