Manpages
Menu
Close menu
Search
Browse
Releases
27.04
(tenacious)
26.10
(stonking)
26.04 LTS
(resolute)
24.04 LTS
(noble)
22.04 LTS
(jammy)
20.04 LTS
(focal)
18.04 LTS
(bionic)
Ubuntu Manpages
Close
Search
bionic
man(1)
kcptun-client.1.gz
kcptun-client
Simple UDP Tunnel Based On KCP
Provided by:
kcptun (Version: 20171201+ds-1)
Report a bug
DESCRIPTION
NAME:
kcptun - client(with SMUX)
USAGE:
kcptun-client [global options] command [command options] [arguments...]
VERSION:
SELFBUILD
COMMANDS:
help, h
Shows a list of commands or help for one command
GLOBAL OPTIONS:
--localaddr
value,
-l
value
local listen address (default: ":12948")
--remoteaddr
value,
-r
value
kcp server address (default: "vps:29900")
--key
value
pre-shared secret between client and server (default: "it's a secrect") [$KCPTUN_KEY]
--crypt
value
aes, aes-128, aes-192, salsa20, blowfish, twofish, cast5, 3des, tea, xtea, xor, sm4, none (default: "aes")
--mode
value
profiles: fast3, fast2, fast, normal, manual (default: "fast")
--conn
value
set num of UDP connections to server (default: 1)
--autoexpire
value
set auto expiration time(in seconds) for a single UDP connection, 0 to disable (default: 0)
--scavengettl
value
set how long an expired connection can live(in sec),
-1
to disable (default: 600)
--mtu
value
set maximum transmission unit for UDP packets (default: 1350)
--sndwnd
value
set send window size(num of packets) (default: 128)
--rcvwnd
value
set receive window size(num of packets) (default: 512)
--datashard
value,
--ds
value
set reed-solomon erasure coding - datashard (default: 10)
--parityshard
value,
--ps
value
set reed-solomon erasure coding - parityshard (default: 3)
--dscp
value
set
DSCP(6bit)
(default: 0)
--nocomp
disable compression
--snmplog
value
collect snmp to 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, default goes to stderr
--quiet
to suppress the 'stream open/close' messages
-c
value
config from json file, which will override the command from shell
--help
,
-h
show help
--version
,
-v
print the version