Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

服务端ss-libev版本多端口多密码下不能支持obfs #244

Open
ck167493 opened this issue Jun 8, 2019 · 1 comment
Open

服务端ss-libev版本多端口多密码下不能支持obfs #244

ck167493 opened this issue Jun 8, 2019 · 1 comment

Comments

@ck167493
Copy link

ck167493 commented Jun 8, 2019

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.

@celerysoft
Copy link

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~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants