From 6a2f970817eb8b72882409d3d854b4462d3402fb Mon Sep 17 00:00:00 2001 From: Max Lv Date: Wed, 13 Feb 2019 12:39:40 +0800 Subject: [PATCH] Update README.md --- README.md | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index cb089a27..d80eb1cd 100644 --- a/README.md +++ b/README.md @@ -495,29 +495,11 @@ The latest shadowsocks-libev has provided a *redir* mode. You can configure your # Start the shadowsocks-redir ss-redir -u -c /etc/config/shadowsocks.json -f /var/run/shadowsocks.pid -## Shadowsocks over KCP - -It's quite easy to use shadowsocks and [KCP](https://github.com/skywind3000/kcp) together with [kcptun](https://github.com/xtaci/kcptun). - -The goal of shadowsocks over KCP is to provide a fully configurable, UDP based protocol to improve poor connections, e.g. a high packet loss 3G network. - -### Setup your server - -```bash -server_linux_amd64 -l :21 -t 127.0.0.1:443 --crypt none --mtu 1200 --nocomp --mode normal --dscp 46 & -ss-server -s 0.0.0.0 -p 443 -k passwd -m chacha20 -u -``` - -### Setup your client - -```bash -client_linux_amd64 -l 127.0.0.1:1090 -r :21 --crypt none --mtu 1200 --nocomp --mode normal --dscp 46 & -ss-local -s 127.0.0.1 -p 1090 -k passwd -m chacha20 -l 1080 -b 0.0.0.0 & -ss-local -s -p 443 -k passwd -m chacha20 -l 1080 -U -b 0.0.0.0 -``` ## Security Tips +To avoid users accessing localhost of your server, please add `--acl acl/server_block_local.acl` to your server command. + Although shadowsocks-libev can handle thousands of concurrent connections nicely, we still recommend setting up your server's firewall rules to limit connections from each user: