mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-26 18:53:41 +00:00
update
This commit is contained in:
@@ -102,7 +102,7 @@ Although shadowsocks-libev can handle thousands of concurrent connections nicely
|
||||
set up your server's firewall rules to limit connections from each user.
|
||||
|
||||
# Up to 32 connections are enough for normal usages
|
||||
iptables -A INPUT -p tcp --syn --dport ${SHADOWSOCKS_PORT} -m connlimit --connlimit-above 32 -j DROP
|
||||
iptables -A INPUT -p tcp --syn --dport ${SHADOWSOCKS_PORT} -m connlimit --connlimit-above 32 -j REJECT --reject-with tcp-reset
|
||||
|
||||
## License
|
||||
|
||||
|
||||
Reference in New Issue
Block a user