Scroll to navigation

KCPTUN-CLIENT(1) User Commands KCPTUN-CLIENT(1)

NAME

kcptun-client - Simple UDP Tunnel Based On KCP

DESCRIPTION

NAME:

kcptun - client(with SMUX)

USAGE:

kcptun-client [global options] command [command options] [arguments...]

VERSION:

SELFBUILD

COMMANDS:

Shows a list of commands or help for one command

GLOBAL OPTIONS:

local listen address (default: ":12948")
kcp server address (default: "vps:29900")
pre-shared secret between client and server (default: "it's a secrect") [$KCPTUN_KEY]
aes, aes-128, aes-192, salsa20, blowfish, twofish, cast5, 3des, tea, xtea, xor, sm4, none (default: "aes")
profiles: fast3, fast2, fast, normal, manual (default: "fast")
set num of UDP connections to server (default: 1)
set auto expiration time(in seconds) for a single UDP connection, 0 to disable (default: 0)
set how long an expired connection can live (in seconds) (default: 600)
set maximum transmission unit for UDP packets (default: 1350)
set send window size(num of packets) (default: 128)
set receive window size(num of packets) (default: 512)
set reed-solomon erasure coding - datashard (default: 10)
set reed-solomon erasure coding - parityshard (default: 3)
set DSCP(6bit) (default: 0)
disable compression
per-socket buffer in bytes (default: 4194304)
specify smux version, available 1,2 (default: 1)
the overall de-mux buffer in bytes (default: 4194304)
per stream receive buffer in bytes, smux v2+ (default: 2097152)
seconds between heartbeats (default: 10)
collect snmp to file, aware of timeformat in golang, like: ./snmp-20060102.log
snmp collect period, in seconds (default: 60)
specify a log file to output, default goes to stderr
to suppress the 'stream open/close' messages
to emulate a TCP connection(linux)
config from json file, which will override the command from shell
show help
print the version
September 2021 kcptun-client 20210922+ds-1