kuoruan / openwrt-kcptun

kcptun for OpenWrt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

openwrt-kcptun

Kcptun Client/Server for OpenWrt

OpenWrt/LEDE 上可用的 Kcptun 客户端/服务端

Release Version Latest Release Download

安装说明

  1. release 页面下载最新版的kcptun-clientkcptun-server(注:请根据你的路由器架构下载对应版本)

  2. 将文件上传到你的路由器上,进行安装

opkg install kcptun-client_*.ipk
opkg install kcptun-server_*.ipk

安装完毕,你可以在 /usr/bin 目录下找到对应的二进制文件。

root@OpenWrt:~# kcptun-client -v
kcptun version 20190109-2_OpenWrt

root@OpenWrt:~# kcptun-server -v
kcptun version 20190109-2_OpenWrt

配合 luci-app-kcptun 使用时,请将 客户端文件 路径配置为 /usr/bin/kcptun-client

  • 注意:luci-app-kcptun 并不支持 kcptun-server

编译说明

请使用最新版的 OpenWrt SDK 或 master 版源代码。

进入 SDK 根目录或源码根目录,执行命令下载 Makefile:

git clone https://github.com/kuoruan/openwrt-kcptun.git package/kcptun

编译流程:

./scripts/feeds update -a
./scripts/feeds install -a

make menuconfig

Network  ---> Web Servers/Proxies  ---> <*> kcptun-client
Network  ---> Web Servers/Proxies  ---> <*> kcptun-server

make package/kcptun/{clean,compile} V=s

卸载说明

opkg remove kcptun-client
opkg remove kcptun-server

About

kcptun for OpenWrt

License:MIT License


Languages

Language:Makefile 100.0%