This repository features:
- SIP003-compatible KCPTUN and UDP2RAW plugins for Shadowsocks
- One-key setup of Shadowsocks+KCPTUN+UDP2RAW
- Automatic upgrade of latest KCPTUN and UDP2RAW binaries
- IPv6 support
Install:
# make installServer:
ss-server ... --plugin kcptun-server-plugin --plugin-opts "key=YOUR_KEY;raw=YES"Client:
ss-local ... --plugin kcptun-client-plugin --plugin-opts "key=YOUR_KEY;raw=YES"Client for proxying only:
ss-proxy -s Server_IP -p Server_Port -l Local_Port --plugin kcptun-client-plugin --plugin-opts "key=YOUR_KEY;raw=YES"Upgrade binaries:
kcptun-server-plugin upgrade
kcptun-client-plugin upgradeUpgrade binaries with proxychains-ng:
PROXY=proxychains4 kcptun-server-plugin upgrade
PROXY=proxychains4 kcptun-client-plugin upgradeNote: you may also place predownloaded archives in /tmp if the network condition is really bad.
KCPTUN:
- config: KCPTUN config. Override all other KCPTUN options. (
-c) - key: KCPTUN and UDP2RAW encryption key (
--key) - crypt: KCPTUN encryption (
--crypt) - mode: KCPTUN mode (
--mode) - mtu: KCPTUN MTU (
--mtu) - sndwnd: KCPTUN send window (
--sndwnd) - rcvwnd: KCPTUN receive window (
--rcvwnd) - datashard: KCPTUN datashard (
--datashard) - parityshard: KCPTUN parityshard (
--parityshard) - dscp: KCPTUN dscp (
--dscp) - nocomp:
YESto disable KCPTUN compression (--nocomp) - quiet:
YESto suppress KCPTUN output (--quiet) - params: specify other parameters like
params=\"--log /tmp/kcptun.err.log\"
UDP2RAW:
- raw:
YESto enable UDP2RAW - raw_config: UDP2RAW config. Override all other UDP2RAW options. (
--conf-file) - raw_mode: UDP2RAW mode (
--raw-mode) - key: KCPTUN and UDP2RAW encryption key (
--key) - raw_cipher: UDP2RAW cipher mode (
--cipher-mode) - raw_auth: UDP2RAW auth mode (
--auth-mode) - raw_params: specify other parameters like
raw_params=\"--seq-mode 0\"
- Support for multiple interface binding