KCPTUN-CLIENT(1)

๐Ÿ“ฆ
this version ยท 8 versions
, in ubuntu noble, ubuntu questing

๐Ÿ’– 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; 0 disables 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 are 1, 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