simple-obfs
simple-obfs copied to clipboard
服务端ss-libev版本多端口多密码下不能支持obfs
Dear! I am using shadowsocks-libev and lately I try to set up obfs for more than 1 port. so I try to create 2 configure files.but only one that support simple obfs. can you help me with this. I create two files 41666.json and 41665.json.and start with /etc/default/shadowsocks-libev and /etc/default/shadowsocks-libev1.but one can connect using obfs.the others can`t. can you help me with this .Thank you.
1. Create multiple user config
cd /etc/default/shadowsocks-libev
touch config.json
vim config.json
the detail of config.json could like this
{
"server": "0.0.0.0",
"local_port": 1080,
"port_password": {
"2888": "password1",
"3888": "password2"
},
"timeout": 60,
"method": "chacha20-ietf-poly1305",
"plugin": "obfs-server",
"plugin_opts": "obfs=tls"
}
you can add extra ports as many as you want
2. Start the shadowsocks-libev with manager mode
ss-manager -c /etc/default/shadowsocks-libev/config.json -u
enjoy it~