服务端配置

{
  "listen": "0.0.0.0:8082",
  "target":"127.0.0.1:8081",                        
  "key": "key",
  "crypt": "aes-256-cfb",
  "mtu": 1350,
  "sndwnd": 1024,
  "rcvwnd": 1024,
  "datashard": 10,
  "parityshard": 3,
  "dscp": 0,
  "conn": 1,
  "autoexpire": 60,
  "nocomp": false
}

客户端配置

{
 "mtu": 1400,
 "key": "key",
 "nocomp": false,
 "remoteaddr": "www.example.com:8082",
 "datashard": 10,
 "autoexpire": 60,
 "acknodelay": false,
 "sndwnd": 1024,
 "nc": 0,
 "rcvwnd": 1024,
 "crypt": "aes-256-cfb",
 "dscp": 0,
 "conn": 1,
 "localaddr": "0.0.0.0:11226",
 "nodelay": 0,
 "parityshard": 3
}