menu E4b9a6's blog
rss_feed
E4b9a6's blog
有善始者实繁,能克终者盖寡。

Kcptun配置文件指南

作者:E4b9a6, 创建:2021-06-16, 字数:625, 已阅:56, 最后更新:2023-08-03

这篇文章更新于 446 天前,文中部分信息可能失效,请自行甄别无效内容。

服务端配置

JSON
{
  "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
}

客户端配置

JSON
{
 "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
}

[[replyMessage== null?"发表评论":"发表评论 @ " + replyMessage.m_author]]

account_circle
email
web_asset
textsms

评论列表([[messageResponse.total]])

还没有可以显示的留言...
gravatar
[[messageItem.m_author]] [[messageItem.m_author]]
[[messageItem.create_time]]
[[getEnviron(messageItem.m_environ)]]
[[subMessage.m_author]] [[subMessage.m_author]] @ [[subMessage.parent_message.m_author]] [[subMessage.parent_message.m_author]]
[[subMessage.create_time]]
[[getEnviron(messageItem.m_environ)]]