Kcptun on OpenWrt for Raspberry Pi (1/2/3)
- This package works in client mode.
- Please setup a server somewhere.
openwrt-kcptun
├── LICENSE
├── Makefile
├── README.md
└── files
└── etc
├── config
│ └── kcptun
└── init.d
└── kcptun
PKG_NAME:=kcptun
PKG_VERSION:=20170930
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-linux-arm-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/xtaci/kcptun/releases/download/v$(PKG_VERSION)
PKG_MD5SUM:=b40de337d590882cdf0218037662da00caf090e2
$ cd sdk
$ git clone https://github.com/EasyPi/openwrt-kcptun.git package/kcptun
$ make package/kcptun/compile V=s
$ find bin -name 'kcptun*.ipk'
# /etc/config/kcptun
config kcptun openvpn
option enabled '0'
option localaddr ':1194'
option remoteaddr 'easypi.info:4911'
option key 'secret'
list extra_params 'sndwnd=128'
list extra_params 'rcvwnd=1024'
config kcptun shadowsocks
option enabled '0'
option localaddr ':8388'
option remoteaddr 'easypi.info:8399'
- You can run multiple kcptun instances.
- Make sure they listen on different ports.