服务器端安装用以下代码
wget --no-check-certificate https://github.com/kuoruan/shell-scripts/raw/master/kcptun/kcptun.sh chmod +x ./kcptun.sh ./kcptun.sh 安装的时候,里面会有一些选项,你要不搞明白就一路回车下去就OK
启动: supervisorctl start kcptun 停止: supervisorctl stop kcptun 重启: supervisorctl restart kcptun 状态: supervisorctl status kcptun 卸载: ./kcptun.sh uninstall
其实如果你用的是 酸酸乳 的话客户端它已经集成了,不需要装
LEDE客户端安装步骤如下
首先把下面这三个东西,下载下来,然后传到你路由器的/tmp/文件夹下
https://github.com/kuoruan/openwrt-kcptun/releases/download/v20190515-1/kcptun-client_20190515-1_x86_64.ipk https://github.com/kuoruan/luci-app-kcptun/releases/download/v1.5.0/luci-app-kcptun_1.5.0-1_all.ipk https://github.com/kuoruan/luci-app-kcptun/releases/download/v1.5.0/luci-i18n-kcptun-zh-cn_1.5.0-1_all.ipk
然后进入路由的tmp文件夹执行以下命令
cd /tmp opkg install kcptun-client_20190515-1_x86_64.ipk opkg install luci-app-kcptun_1.5.0-1_all.ipk opkg install luci-i18n-kcptun-zh-cn_1.5.0-1_all.ipk