└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # openwrt-kcptun 2 | 3 | Binary in Release for download. 4 | 5 | More details please refer to https://github.com/xtaci/kcptun 6 | 7 | luci-app-kcptun please refer to https://github.com/kuoruan/luci-app-kcptun 8 | 9 | Sample client config file for AR9341/MT7620 router with 64M memory. 10 | ``` 11 | { 12 | "localaddr": ":12948", 13 | "remoteaddr": "vps:29900", 14 | "key": "it's a secrect", 15 | "crypt": "salsa20", 16 | "mode": "fast", 17 | "conn": 1, 18 | "autoexpire": 300, 19 | "mtu": 1350, 20 | "sndwnd": 256, 21 | "rcvwnd": 256, 22 | "datashard": 0, 23 | "parityshard": 0, 24 | "dscp": 46, 25 | "nocomp": true, 26 | "acknodelay": false, 27 | "nodelay": 0, 28 | "interval": 20, 29 | "resend": 2, 30 | "nc": 1, 31 | "sockbuf": 4194304, 32 | "keepalive": 10 33 | } 34 | ``` 35 | 36 | Sample server config file for VPS. 37 | ``` 38 | { 39 | "listen": ":29900", 40 | "target": "127.0.0.1:12948", 41 | "key": "it's a secrect", 42 | "crypt": "salsa20", 43 | "mode": "fast", 44 | "conn": 1, 45 | "autoexpire": 300, 46 | "mtu": 1350, 47 | "sndwnd": 256, 48 | "rcvwnd": 256, 49 | "datashard": 0, 50 | "parityshard": 0, 51 | "dscp": 46, 52 | "nocomp": true, 53 | "acknodelay": false, 54 | "nodelay": 0, 55 | "interval": 20, 56 | "resend": 2, 57 | "nc": 1, 58 | "sockbuf": 4194304, 59 | "keepalive": 10 60 | } 61 | 62 | ``` 63 | --------------------------------------------------------------------------------