UP | HOME

kcptun配置文件

server-configure.json

{
  "listen": ":12345",
  "target": "sss-address:54321",
  "key": "kcptun-password",
  "crypt": "salsa20",
  "mode": "fast2",
  "mtu": 1350,
  "sndwnd": 1024,
  "rcvwnd": 1024,
  "datashard": 5,
  "parityshard": 5,
  "dscp": 46,
  "nocomp": true,
  "acknodelay": false,
  "nodelay": 0,
  "interval": 40,
  "resend": 0,
  "nc": 0,
  "sockbuf": 16777217,
  "keepalive": 10
}

client-configure.json

{
  "localaddr": ":54321",
  "remoteaddr": "kcptun-address:12345",
  "key": "kcptun-password",
  "crypt": "salsa20",
  "mode": "fast2",
  "conn": 1,
  "autoexpire": 60,
  "mtu": 1350,
  "sndwnd": 128,
  "rcvwnd": 1024,
  "datashard": 5,
  "parityshard": 5,
  "dscp": 46,
  "nocomp": true,
  "acknodelay": false,
  "nodelay": 0,
  "interval": 40,
  "resend": 0,
  "nc": 0,
  "sockbuf": 16777217,
  "keepalive": 10
}

Date: 2019-03-09 Sat 17:29

Author: shixiongfei

Created: 2020-09-05 Sat 14:39

Emacs 27.1 (Org mode 9.3)