id: 8d9756d4f90141e997af906230cdb59c
parent_id: 
item_type: 1
item_id: 7f403a91cb5a459485cc71d1a40ee5cb
item_updated_time: 1764345476877
title_diff: "[{\"diffs\":[[1,\"KCPTUN-网络加速方案\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":13}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>KCPTUN-网络加速方案</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"8444\\\"></a>\\\r\\\n<h1>KCPTUN-网络加速方案</h1>\\\r\\\n\\\r\\\n<div>\\\n<span><div><br/></div><div style=\\\"min-width: 100%; position: relative;\\\"><div style=\\\"text-size-adjust: 100%;\\\"><div style=\\\"background: rgb(245, 247, 249);\\\"><div style=\\\"box-sizing: border-box; background: rgb(255, 255, 255); box-shadow: initial; border-radius: initial;\\\"><div style=\\\"font-size: 14px;\\\"><h2 style=\\\"padding: 0px; font-size: 20px; margin: 20px 0px 15px; text-align: center; word-break: break-word;\\\"><span style=\\\"font-size: 20px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 1.5; font-weight: 400;\\\">KCPTUN-网络加速方案</span></h2><div style=\\\"font-size: 12px; text-align: center; margin: 3px 0px 30px;\\\"><span style=\\\"margin-right: 3px; font-size: 12px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(153, 153, 153); line-height: 2;\\\"><i style=\\\"display: inline-block; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased;\\\"><span style=\\\"font-size: inherit; font-family: FontAwesome; color: rgb(153, 153, 153); line-height: 1; font-style: normal; font-stretch: normal; font-variant: normal; font-weight: normal;\\\"></span></i></span> <span style=\\\"font-size: 12px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(153, 153, 153); line-height: 2;\\\">发表于</span> <span style=\\\"border-bottom: 1px dashed rgb(153, 153, 153); cursor: help; font-size: 12px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(153, 153, 153); line-height: 2;\\\" title=\\\"创建时间：2019-04-28 15:40:04\\\">2019-04-28</span> <span style=\\\"margin: 0px 0.5em; font-size: 12px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(153, 153, 153); line-height: 2;\\\">|</span> <span style=\\\"margin-right: 3px; font-size: 12px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(153, 153, 153); line-height: 2;\\\"><i style=\\\"display: inline-block; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased;\\\"><span style=\\\"font-size: inherit; font-family: FontAwesome; color: rgb(153, 153, 153); line-height: 1; font-style: normal; font-stretch: normal; font-variant: normal; font-weight: normal;\\\"></span></i></span> <span style=\\\"font-size: 12px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(153, 153, 153); line-height: 2;\\\">分类于</span> <a href=\\\"http://www.jouypub.com/categories/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91/\\\" rel=\\\"index\\\" style=\\\"background-color: transparent; outline: 0px; border-bottom: 1px solid rgb(153, 153, 153); overflow-wrap: break-word; font-size: 12px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; line-height: 2; color: rgb(85, 85, 85); text-decoration: none;\\\">科学上网</a> <span style=\\\"margin: 0px 0.5em; font-size: 12px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(153, 153, 153); line-height: 2;\\\">|</span> <span style=\\\"margin-right: 3px; font-size: 12px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(153, 153, 153); line-height: 2;\\\"><i style=\\\"display: inline-block; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased;\\\"><span style=\\\"font-size: inherit; font-family: FontAwesome; color: rgb(153, 153, 153); line-height: 1; font-style: normal; font-stretch: normal; font-variant: normal; font-weight: normal;\\\"></span></i></span> <a href=\\\"http://www.jouypub.com/2019/9c4df700f0f76848f7042858a2b71a8a/#comments\\\" style=\\\"background-color: transparent; outline: 0px; border-bottom: 1px solid rgb(153, 153, 153); overflow-wrap: break-word; font-size: 12px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; line-height: 2; color: rgb(85, 85, 85); text-decoration: none;\\\">评论数： 0</a> <span style=\\\"margin: 0px 0.5em; font-size: 12px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(153, 153, 153); line-height: 2;\\\">|</span> <span style=\\\"margin-right: 3px; font-size: 12px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(153, 153, 153); line-height: 2;\\\"><i style=\\\"display: inline-block; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased;\\\"><span style=\\\"font-size: inherit; font-family: FontAwesome; color: rgb(153, 153, 153); line-height: 1; font-style: normal; font-stretch: normal; font-variant: normal; font-weight: normal;\\\"></span></i></span> <span style=\\\"font-size: 12px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(153, 153, 153); line-height: 2;\\\">阅读次数：</span></div></div><div style=\\\"text-align: justify;\\\"><h3 style=\\\"font-size: 18px; padding: 10px 0px 0px; margin: 20px 0px 15px;\\\"><span style=\\\"font-size: 18px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 1.5; font-weight: 700;\\\">简介</span></h3><div style=\\\"box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.15);-en-codeblock:true;\\\"><div><font color=\\\"#FF0000\\\" style=\\\"font-size: 12pt;\\\">适用平台：OpenVZ、KVM、Xen等。</font></div><div><font color=\\\"#FF0000\\\" style=\\\"font-size: 12pt;\\\">适用系统：CentOS、Debian、Ubuntu等Linux发行版。<b>不适用 amzn 2</b></font></div></div><div style=\\\"font-size: 14px; margin: 0px 0px 20px;\\\"><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\"><br/></span></div><div style=\\\"font-size: 14px; margin: 0px 0px 20px;\\\"><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">KCPTUN是一款服务器双边加速工具，可以将服务器的TCP流量，比如Shadowsokcs/Shadowsocksr的流量，转化为KCP协议的UDP流量发出。作为一款暴力发包工具，KCPTUN可以有效解决丢包问题，明显提升传输速度，是站长目前用过的效果最为突出的加速工具。</span></div><div style=\\\"font-size: 14px; margin: 0px 0px 20px;\\\"><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">KCPTUN加速途径：</span></div><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">SS/SSR服务器端——KCPTUN服务器端——KCPTUN本地客户端——SS/SSR本地客户端。</span></div></div><div style=\\\"font-size: 14px; margin: 0px 0px 20px;\\\"><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">KCPTUN的优点:</span></div><ol style=\\\"font-size: 14px;\\\"><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">不挑服务器平台，OpenVZ、KVM、Xen等虚拟化架构都支持。</span></div></li><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">基本不挑系统，Linxu下的CentOS、Debian、Ubuntu等都可以安装。</span></div></li><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">加速效果明显，可以避开TCP流量的QOS限速，减少拥堵。</span></div></li><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">经站长测试，使用KCPTUN对SSR流量加速后，访问Google/Youtube等网站时，可以达到接近秒开的效果，这一点表现比BBR/锐速更好一些。</span></div></li></ol><div style=\\\"font-size: 14px; margin: 0px 0px 20px;\\\"><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">KCPTUN的缺点：</span></div><ol style=\\\"font-size: 14px;\\\"><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">需要KCPTUN服务器端和客户端配合使用。</span></div></li><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">参数配置项较多，可能需要多次尝试不同的参数搭配，从而获得最佳效果。下文会提供一些常用搭配。</span></div></li><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">由于是暴力发包，KCPTUN可能会耗费成倍的服务器流量，还会影响到服务器上的邻居。</span></div></li><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">只能加速单一端口的TCP流量，对其余端口的TCP流量无加速效果，所以常用于SS/SSR加速。</span></div></li></ol><div style=\\\"font-size: 14px; margin: 0px 0px 20px;\\\"><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">总结：</span></div><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">虽然存在缺点，但KCPTUN的优点更为明显，使用效果非常不错，可能会拯救你的超售严重、垃圾线路的VPS服务器，值得尝试一下。</span></div><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">注意：并不建议大家从超售严重商家购买VPS服务器，极大影响使用体验。</span></div></div><div style=\\\"font-size: 14px; margin: 0px 0px 20px;\\\"><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">KCPTUN加速效果测试。以下测试在同一时间段内进行，测试结果仅供参考，具体效果以各自网络环境为准。</span></div><div style=\\\"font-size: 14px; margin: 0px 0px 20px;\\\"><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">IDM多线程下载测速</span></div><div style=\\\"font-size: 14px; margin: 0px 0px 20px;\\\"><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">由于KCPTUN并不能直接加速TCP流量，而是要将其转化为UDP流量。所以本次下载测试中的KCPTUN部分，是通过同一服务器的SSR下载服务器上的文件，经KCPTUN加速后得到的结果，可以间接反映KCPTUN的加速效果。</span></div><div style=\\\"font-size: 14px;\\\"><a href=\\\"http://files.jouypub.com/static/images/cc2952f0f685d9fa41da87fec8e4ad01.jpg\\\" rel=\\\"group\\\" style=\\\"background-color: transparent; outline: 0px; border-bottom: 1px solid rgb(153, 153, 153); overflow-wrap: break-word;\\\" title=\\\"无KCPTUN\\\"></a><div><a href=\\\"http://files.jouypub.com/static/images/cc2952f0f685d9fa41da87fec8e4ad01.jpg\\\" rel=\\\"group\\\" style=\\\"background-color: transparent; outline: 0px; border-bottom: 1px solid rgb(153, 153, 153); overflow-wrap: break-word;\\\" title=\\\"无KCPTUN\\\"></a><a href=\\\"http://files.jouypub.com/static/images/cc2952f0f685d9fa41da87fec8e4ad01.jpg\\\" style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; line-height: 2; background-color: transparent; color: rgb(85, 85, 85); text-decoration: none;\\\"><img src=\\\":/88f270ef03e949cc82b1040221cc7d1c\\\" type=\\\"image/jpeg\\\" data-filename=\\\"cc2952f0f685d9fa41da87fec8e4ad01.jpg\\\" height=\\\"21\\\" style=\\\"max-width:100%;height:auto;cursor:-webkit-zoom-in;box-sizing:border-box;padding:3px;border:1px solid rgb(221, 221, 221);margin:0px auto 25px;display:block;\\\" title=\\\"无KCPTUN\\\" width=\\\"425\\\"/></a></div><div style=\\\"text-align: center; font-size: 14px; margin: -20px auto 15px;\\\"><a href=\\\"http://files.jouypub.com/static/images/cc2952f0f685d9fa41da87fec8e4ad01.jpg\\\" style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; line-height: 1; background-color: transparent; color: rgb(153, 153, 153); text-decoration: none; font-weight: 700;\\\">无KCPTUN</a></div><a href=\\\"http://files.jouypub.com/static/images/0381a797c121a5029fa16461bf2f786e.jpg\\\" rel=\\\"group\\\" style=\\\"background-color: transparent; outline: 0px; border-bottom: 1px solid rgb(153, 153, 153); overflow-wrap: break-word;\\\" title=\\\"有KCPTUN\\\"></a><div><a href=\\\"http://files.jouypub.com/static/images/0381a797c121a5029fa16461bf2f786e.jpg\\\" rel=\\\"group\\\" style=\\\"background-color: transparent; outline: 0px; border-bottom: 1px solid rgb(153, 153, 153); overflow-wrap: break-word;\\\" title=\\\"有KCPTUN\\\"></a><a href=\\\"http://files.jouypub.com/static/images/0381a797c121a5029fa16461bf2f786e.jpg\\\" style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; line-height: 2; background-color: transparent; color: rgb(85, 85, 85); text-decoration: none;\\\"><img src=\\\":/bfd17e40f1fe4c058d6960b385815d3a\\\" type=\\\"image/jpeg\\\" data-filename=\\\"0381a797c121a5029fa16461bf2f786e.jpg\\\" height=\\\"21\\\" style=\\\"max-width:100%;height:auto;cursor:-webkit-zoom-in;box-sizing:border-box;padding:3px;border:1px solid rgb(221, 221, 221);margin:0px auto 25px;display:block;\\\" title=\\\"有KCPTUN\\\" width=\\\"419\\\"/></a></div><div style=\\\"text-align: center; font-size: 14px; margin: -20px auto 15px;\\\"><a href=\\\"http://files.jouypub.com/static/images/0381a797c121a5029fa16461bf2f786e.jpg\\\" style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; line-height: 1; background-color: transparent; color: rgb(153, 153, 153); text-decoration: none; font-weight: 700;\\\">有KCPTUN</a></div></div><div style=\\\"font-size: 14px; margin: 0px 0px 20px;\\\"><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">总结：经KCPTUN加速后，下载速度由19.57KB/S，提升至2.24MB/S，加速非常明显。加速效果：117倍。</span></div><h3 style=\\\"font-size: 18px; padding: 10px 0px 0px; margin: 20px 0px 15px;\\\"><span style=\\\"font-size: 18px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 1.5; font-weight: 700;\\\">安装脚本</span></h3><div style=\\\"font-size: 14px; margin: 0px 0px 20px;\\\"><div><span style=\\\"background: rgb(255, 250, 165); transition: background-color 0.4s ease 0s; font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: black; line-height: 2;-evernote-highlight:true;\\\" title=\\\"点击以取消高亮显示\\\">适用平台：OpenVZ、KVM、Xen等。</span></div><div><span style=\\\"background: rgb(255, 250, 165); transition: background-color 0.4s ease 0s; font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: black; line-height: 2;-evernote-highlight:true;\\\" title=\\\"点击以取消高亮显示\\\">适用系统：CentOS、Debian、Ubuntu等Linux发行版。</span></div></div><div style=\\\"font-size: 14px; overflow: auto; padding: 0px; background: rgb(247, 247, 247); border-radius: 1px; margin: 20px 0px;\\\"><div><br/></div><table style=\\\"font-size: 14px; border-spacing: 0px;\\\"><colgroup><col style=\\\"width: 130px;\\\"></col><col style=\\\"width: 130px;\\\"></col></colgroup><tbody><tr style=\\\"background-color:rgb(249, 249, 249);\\\"><td style=\\\"text-align: left; vertical-align: middle; user-select: none;\\\"><div style=\\\"background: rgb(239, 242, 243); overflow: auto; font-size: 14px; border: none; margin: 0px; padding: 10px; text-align: right;\\\"><div><span style=\\\"height: 20px; font-size: 14px; font-family: consolas, Menlo, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(134, 145, 148); line-height: 1.6; font-weight: 400;\\\">1</span></div><div><span style=\\\"height: 20px; font-size: 14px; font-family: consolas, Menlo, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(134, 145, 148); line-height: 1.6; font-weight: 400;\\\">2</span></div><div><span style=\\\"height: 20px; font-size: 14px; font-family: consolas, Menlo, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(134, 145, 148); line-height: 1.6; font-weight: 400;\\\">3</span></div></div></td><td style=\\\"text-align: left; vertical-align: middle;\\\"><div style=\\\"background: rgb(247, 247, 247); overflow: auto; font-size: 14px; border: none; margin: 0px; padding: 10px; width: 100%;\\\"><div><span style=\\\"height: 20px; font-size: 14px; font-family: consolas, Menlo, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(77, 77, 76); line-height: 1.6; font-weight: 400;\\\">wget --no-check-certificate https://github.com/kuoruan/shell-scripts/raw/master/kcptun/kcptun.sh</span></div><div><span style=\\\"height: 20px; font-size: 14px; font-family: consolas, Menlo, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(77, 77, 76); line-height: 1.6; font-weight: 400;\\\">chmod +x ./kcptun.sh</span></div><div><span style=\\\"height: 20px; font-size: 14px; font-family: consolas, Menlo, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(77, 77, 76); line-height: 1.6; font-weight: 400;\\\">./kcptun.sh</span></div></div></td></tr></tbody></table><div><br/></div></div><div style=\\\"font-size: 14px; margin: 0px 0px 20px;\\\"><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">安装过程中会有提示选项，这里有几点需要注意：</span></div><ol style=\\\"font-size: 14px;\\\"><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">端口：默认29900，即为KCPTUN与其客户端连接使用的端口，默认即可。</span></div></li><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">要加速的地址：默认127.0.0.1。</span></div></li><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">要加速的端口：设置为你的SS/SSR使用的端口。</span></div></li><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">密码：自己设置，用于KCPTUN客户端连接使用，不要使用默认密码。</span></div></li><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">加密方式选择：较强的加密方式会影响网速，建议默认aes或不加密。</span></div></li><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">加速模式：默认fast即可。随后可以手动修改为其它模式，测试加速效果。</span></div></li><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">MTU：默认1350即可。</span></div></li><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">sndwnd：发送窗口大小，与服务器的上传带宽大小有关，这项与rcvwnd的比例会影响加速效果，可以暂时设置为默认的512。</span></div></li><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">rcvwnd：接收窗口大小，与服务器的下载带宽大小有关，也可以暂设置为默认的512，或者1024也可以。</span></div></li><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">以下几项中，除了数据压缩外，其它保持默认参数即可。建议关闭数据压缩，可以在一定程度上提升传输效率。</span></div></li><li><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">其余各项设置，保持默认即可，设置完成后，按任意键开始安装过程。</span></div></li></ol><div style=\\\"font-size: 14px; margin: 0px 0px 20px;\\\"><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">安装成功后，建议把结果内容保存，后续KCPTUN客户端要用到。的各项参数，建议截图记录一下，随后KCPTUN客户端要用到。</span></div><div style=\\\"font-size: 14px; margin: 0px 0px 20px;\\\"><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">KCPTUN常用功能及命令：</span></div><ul style=\\\"font-size: 14px;\\\"><li style=\\\"list-style:circle;\\\"><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">KCPTUN安装目录：</span><span style=\\\"font-size: 14px; font-family: consolas, Menlo, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(85, 85, 85); line-height: 2; background: rgb(238, 238, 238); padding: 2px 4px; overflow-wrap: break-word; border-radius: 3px;\\\">/usr/local/kcptun</span></div></li><li style=\\\"list-style:circle;\\\"><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">KCPTUN的参数配置文件：</span><span style=\\\"font-size: 14px; font-family: consolas, Menlo, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(85, 85, 85); line-height: 2; background: rgb(238, 238, 238); padding: 2px 4px; overflow-wrap: break-word; border-radius: 3px;\\\">/usr/local/kcptun/server-config.json</span></div></li><li style=\\\"list-style:circle;\\\"><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">启动：</span><span style=\\\"font-size: 14px; font-family: consolas, Menlo, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(85, 85, 85); line-height: 2; background: rgb(238, 238, 238); padding: 2px 4px; overflow-wrap: break-word; border-radius: 3px;\\\">supervisorctl start kcptun</span></div></li><li style=\\\"list-style:circle;\\\"><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">停止：</span><span style=\\\"font-size: 14px; font-family: consolas, Menlo, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(85, 85, 85); line-height: 2; background: rgb(238, 238, 238); padding: 2px 4px; overflow-wrap: break-word; border-radius: 3px;\\\">supervisorctl stop kcptun</span></div></li><li style=\\\"list-style:circle;\\\"><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">重启：</span><span style=\\\"font-size: 14px; font-family: consolas, Menlo, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(85, 85, 85); line-height: 2; background: rgb(238, 238, 238); padding: 2px 4px; overflow-wrap: break-word; border-radius: 3px;\\\">supervisorctl restart kcptun</span></div></li><li style=\\\"list-style:circle;\\\"><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">状态：</span><span style=\\\"font-size: 14px; font-family: consolas, Menlo, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(85, 85, 85); line-height: 2; background: rgb(238, 238, 238); padding: 2px 4px; overflow-wrap: break-word; border-radius: 3px;\\\">supervisorctl status kcptun</span></div></li><li style=\\\"list-style:circle;\\\"><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">卸载：</span><span style=\\\"font-size: 14px; font-family: consolas, Menlo, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(85, 85, 85); line-height: 2; background: rgb(238, 238, 238); padding: 2px 4px; overflow-wrap: break-word; border-radius: 3px;\\\">./kcptun.sh uninstall</span></div></li></ul><h3 style=\\\"font-size: 18px; padding: 10px 0px 0px; margin: 20px 0px 15px;\\\"><span style=\\\"font-size: 18px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 1.5; font-weight: 700;\\\">客户端</span></h3><div style=\\\"font-size: 14px; margin: 0px 0px 20px;\\\"><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">Mac：ShadowsocksX-NG自带kcptun插件，</span><a href=\\\"https://github.com/shadowsocks/ShadowsocksX-NG/releases\\\" rel=\\\"noopener\\\" style=\\\"background-color: transparent; outline: 0px; border-bottom: 1px solid rgb(153, 153, 153); overflow-wrap: break-word; font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; line-height: 2; color: rgb(85, 85, 85); text-decoration: none;\\\" target=\\\"_blank\\\">https://github.com/shadowsocks/ShadowsocksX-NG/releases</a></div><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">Windows：</span><a href=\\\"https://github.com/xtaci/kcptun/releases\\\" rel=\\\"noopener\\\" style=\\\"background-color: transparent; outline: 0px; border-bottom: 1px solid rgb(153, 153, 153); overflow-wrap: break-word; font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; line-height: 2; color: rgb(85, 85, 85); text-decoration: none;\\\" target=\\\"_blank\\\">https://github.com/xtaci/kcptun/releases</a></div><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">iOS：没有对应的客户端，可以在路由器上安装，间接使用kcptun加速</span></div><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">Android：</span><a href=\\\"https://github.com/shadowsocks/kcptun-android/releases\\\" rel=\\\"noopener\\\" style=\\\"background-color: transparent; outline: 0px; border-bottom: 1px solid rgb(153, 153, 153); overflow-wrap: break-word; font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; line-height: 2; color: rgb(85, 85, 85); text-decoration: none;\\\" target=\\\"_blank\\\">https://github.com/shadowsocks/kcptun-android/releases</a></div></div></div><div style=\\\"font-size: 14px; padding: 10px 0px; margin: 20px auto; width: 100%; text-align: center;\\\"><div><a href=\\\"http://files.jouypub.com/webchat/87fed7ee52ff777ce6fd663df452bc49.jpg\\\" rel=\\\"group\\\" style=\\\"background-color: transparent; outline: 0px; border-bottom: 1px solid rgb(153, 153, 153); overflow-wrap: break-word; font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; line-height: 2; color: rgb(85, 85, 85); text-decoration: none;\\\"><img src=\\\":/a210c4a9ca7b4d12902f3e563fe14751\\\" type=\\\"image/jpeg\\\" data-filename=\\\"87fed7ee52ff777ce6fd663df452bc49.jpg\\\" height=\\\"200\\\" style=\\\"border:0px;display:block;margin:auto;max-width:100%;height:auto;width:200px;\\\" width=\\\"200\\\"/></a></div><div><span style=\\\"font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; color: rgb(85, 85, 85); line-height: 2;\\\">欢迎订阅「K叔区块链」 - 专注于区块链技术学习</span></div></div><div style=\\\"font-size: 14px; margin-top: 40px; text-align: center;\\\"><a href=\\\"http://www.jouypub.com/tags/%E7%BD%91%E7%BB%9C%E5%8A%A0%E9%80%9F%E6%96%B9%E6%A1%88/\\\" rel=\\\"tag\\\" style=\\\"background-color: transparent; outline: 0px; border-bottom: 1px solid rgb(153, 153, 153); overflow-wrap: break-word; display: inline-block; margin-right: 10px; font-size: 13px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; line-height: 2; color: rgb(85, 85, 85); text-decoration: none;\\\"># 网络加速方案</a></div><div style=\\\"font-size: 14px; display: table; margin-top: 15px; width: 100%; border-top: 1px solid rgb(238, 238, 238);\\\"><div style=\\\"display:table-cell;padding:10px 0px 0px;width:45%;vertical-align:top;\\\"><div style=\\\"outline: 0px; overflow-wrap: break-word; position: relative; padding-left: 15px; border-bottom: none;\\\" title=\\\"锐速-网络加速方案\\\"><a href=\\\"http://www.jouypub.com/2019/c00d74b1b6a202be3e24f14d7e30b6b3/\\\" style=\\\"background-color: transparent; font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; line-height: 25px; color: rgb(85, 85, 85); text-decoration: none;\\\" target=\\\"null\\\"></a><i style=\\\"display: inline-block; text-rendering: auto; -webkit-font-smoothing: antialiased; position: absolute; top: 8px; left: 0px; font-size: 12px;\\\"><a href=\\\"http://www.jouypub.com/2019/c00d74b1b6a202be3e24f14d7e30b6b3/\\\" style=\\\"font-size: 12px; font-family: FontAwesome; line-height: 1; background-color: transparent; color: rgb(85, 85, 85); text-decoration: none; font-style: normal; font-stretch: normal; font-variant: normal; font-weight: normal;\\\"></a></i> 锐速-网络加速方案</div></div><div style=\\\"display:table-cell;padding:10px 0px 0px;width:45%;vertical-align:top;text-align:right;\\\"><div style=\\\"outline: 0px; overflow-wrap: break-word; position: relative; padding-right: 15px; border-bottom: none;\\\" title=\\\"网络加速方案对比\\\"><a href=\\\"http://www.jouypub.com/2019/e6d24a7ee18b98487cf923e1ec203378/\\\" style=\\\"background-color: transparent; font-size: 14px; font-family: Lato, -apple-system, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; line-height: 25px; color: rgb(85, 85, 85); text-decoration: none;\\\" target=\\\"null\\\">网络加速方案对比 </a><i style=\\\"display: inline-block; text-rendering: auto; -webkit-font-smoothing: antialiased; position: absolute; top: 8px; right: 0px; font-size: 12px; left: auto;\\\"><a href=\\\"http://www.jouypub.com/2019/e6d24a7ee18b98487cf923e1ec203378/\\\" style=\\\"font-size: 12px; font-family: FontAwesome; line-height: 1; background-color: transparent; color: rgb(85, 85, 85); text-decoration: none; font-style: normal; font-stretch: normal; font-variant: normal; font-weight: normal;\\\"></a></i></div></div></div></div></div></div></div><div><br/></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":31695}]"
metadata_diff: {"new":{"id":"7f403a91cb5a459485cc71d1a40ee5cb","parent_id":"061de1401cfc4cfaadf6e74e015970e9","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764345730771,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T16:12:45.417Z
created_time: 2025-11-28T16:12:45.417Z
type_: 13