在vps上搭建的ss-server怎么设置多用户


在网上找的教程好像都是只有一个config.json文件。不知道怎么里面弄多个用户,多个端口。

翻墙 vps

隔壁村口王大爷 9 years, 2 months ago

都是写在config.json里面的..

森近霖之助.. answered 9 years, 2 months ago

一个用户一个端口就可以的。


 {
    "timeout": 600,
    "method": "aes-256-cfb",
    "port_password":
    {
        "40001": "password1",
        "40002": "password2",
        "40003": "password3"
    },
    "_comment":
    {
        "40001": "xiaoming",
        "40002": "lilei",
        "40003": "mike"
    }
}

夜枫OR疯 answered 9 years, 2 months ago

https://teddysun.com/392.html
大概就是这样:


 {
    "port_password": {
        "8387": "foobar",
        "8388": "barfoo"
    },
    "method": "aes-128-cfb",
    "timeout": 600
}

毛衣亚克西 answered 9 years, 2 months ago

Your Answer