From c1f6057b1086446a8218bbc70648271321d0b580 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Mon, 8 Aug 2016 16:36:42 +0800 Subject: [PATCH] Update readme --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 566fe3c1..263a61fb 100644 --- a/README.md +++ b/README.md @@ -449,19 +449,21 @@ The latest shadowsocks-libev has provided a *redir* mode. You can configure your 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 :8388 -t 127.0.0.1:8399 --crypt none --mtu 1400 --sndwnd 2048 --rcvwnd 2048 & -ss-server -s 0.0.0.0 -p 8399 -k passwd -m chacha20 -u & +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:29900 -r :8388 --crypt none --mtu 1400 --sndwnd 2048 --rcvwnd 2048 & -ss-local -s 127.0.0.1 -p 29900 -k passwd -m chacha20 -l 1080 -b 0.0.0.0 & -ss-local -s -p 8399 -k passwd -m chacha20 -l 1080 -U -b 0.0.0.0 +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