KCPTUN-CLIENT(1)
๐ NAME ๐
kcptun-client โ a Simple UDP Tunnel Based On KCP, bestie. yeah that's the whole name, she's lowkey iconic for it โจ
๐ฆ DESCRIPTION ๐ฆ
okay so this is the manual page for kcptun-client, from the kcptun family โ manual name kcptun-client, in case the terminal header didn't already give that away ๐
๐ธ NAME:
kcptun โ the client (with SMUX). that's the vibe. SMUX in the building, no cap ๐ซถ
๐ USAGE:
kcptun-client [global options] command [command options] [arguments...]
that's it, that's the whole shape of it. global options first, then a command, then that command's own options, then whatever arguments it wants. slay โจ
โญ VERSION:
SELFBUILD
yes really, it literally says SELFBUILD and that's so real of it ๐ญ
๐ COMMANDS:
help,hโ shows you a list of commands, or help for one specific command. she's helpful like that ๐
๐ GLOBAL OPTIONS:
every single one, in order, no skips, no crumbs left behind:
--localaddr value,-l valueโ the local address she listens on. (default:":12948") ๐ง--remoteaddr value,-r valueโ where your kcp server is at. (default:"vps:29900") ๐ก--key valueโ the pre-shared secret between client and server. (default:"it's a secrect") โ yes, that typo is canon, it's in the original, we do not fix it, we respect it ๐ environment variable:$KCPTUN_KEY--crypt valueโ pick your encryption flavor:aes,aes-128,aes-192,salsa20,blowfish,twofish,cast5,3des,tea,xtea,xor,sm4,none. (default:"aes") ๐--mode valueโ the profiles:fast3,fast2,fast,normal,manual. (default:"fast") โก--conn valueโ how many UDP connections to the server. (default:1) ๐--autoexpire valueโ auto expiration time, in seconds, for a single UDP connection;0disables it entirely. (default:0) โณ--scavengettl valueโ how long an expired connection is allowed to keep living, in seconds. (default:600) ๐ง--mtu valueโ maximum transmission unit for UDP packets. (default:1350) ๐ฆ--sndwnd valueโ send window size, counted in packets. (default:128) ๐ค--rcvwnd valueโ receive window size, counted in packets. (default:512) ๐ฅ--datashard value,--ds valueโ reed-solomon erasure coding: datashard. (default:10) ๐งฎ--parityshard value,--ps valueโ reed-solomon erasure coding: parityshard. (default:3) ๐งฎ--dscp valueโ set DSCP, 6 bits. (default:0) ๐ท๏ธ--nocompโ disable compression. just turn it off, periodt ๐ซ--sockbuf valueโ per-socket buffer, in bytes. (default:4194304) ๐งบ--smuxver valueโ specify the smux version; available are1,2. (default:1) ๐ข--smuxbuf valueโ the overall de-mux buffer, in bytes. (default:4194304) ๐ซ--streambuf valueโ per stream receive buffer, in bytes, smux v2+ only. (default:2097152) ๐--keepalive valueโ seconds between heartbeats. (default:10) ๐--snmplog valueโ collect snmp to a file, aware of timeformat in golang, like:./snmp-20060102.log๐--snmpperiod valueโ snmp collect period, in seconds. (default:60) โฐ--log valueโ specify a log file to output to; by default it goes to stderr. ๐๏ธ--quietโ to suppress the'stream open/close'messages. ๐คซ--tcpโ to emulate a TCP connection(linux) ๐ง-c valueโ config from a json file, which will override the command from shell. โ ๏ธ note the override energy: the json wins, bestie.--help,-hโ show help. ๐--version,-vโ print the version. ๐ท๏ธ
fr fr, that's every option, every default, every env var. nothing got left out, nothing got invented. iykyk ๐
okay bye bestie, go tunnel something cute ๐ฆ๐
this was kcptun-client version 20210922+ds-1build1, from August 2023 โ thanks for reading the whole thing, you're the main character ๐โจ
๐ฆ where this page comes from
- ubuntu noble: kcptun 20210922+ds-1build1 ยท MIT
- ubuntu questing: kcptun 20210922+ds-1build1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms