-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
please support multi-port config.json #5
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
Comments
another example of multi-port |
Sorry, we have no plan to support multi port configuration. Actually you can use multiple instances instead. For example: ss-server -c config1.json -f pid1
ss-server -c config2.json -f pid2
ss-server -c config3.json -f pid3 As the best practice we recommend for Compared to other implementations, |
OK. your comments make it very clear to me. I will use multiple instances. |
Thanks. |
Running multiple instances is not feasible when supporting thousands of users. Is it possible to make shadowsocks start through inetd or xinetd? It would require only minimal changes to shadowsocks and instantly makes it scalable. (Using the Go version at the moment, but it's not as stable and well-maintained as this libev version.) |
Add libnetfilter-conntrack-dev in dependency
How do you configure multiple instances as a service? The wiki couldn't be more general :D |
@wisicn Try But what I was thinking is that |
I tried the following config.json, but always failed, the ss-server always promote me to input parameters and show me usage.
{
"server":"0.0.0.0",
"port_password": {
"8387": "foobar2",
"8388": "foobar1"
},
"timeout":60,
"method":"rc4"
}
The text was updated successfully, but these errors were encountered: