Files
knockd/doc/knock.1.in
2016-09-28 19:40:56 +02:00

37 lines
1006 B
Groff

.TH knock 1 "June 26, 2005" "knockd #VERSION#" ""
.SH NAME
knock \- port-knock client
.SH SYNOPSIS
\fBknock [options] <host> <port[:proto]> [port[:proto]] ...\fP
.SH DESCRIPTION
\fBknock\fP is a \fIport-knock\fP client. It sends TCP/UDP packets
to each specified \fIport\fP on \fIhost\fP, creating a special knock
sequence on the listening server (see the \fBknockd\fP manpage for more
info on this).
.SH OPTIONS
.TP
.B "\-u, \-\-udp"
Make all port hits use UDP (default is TCP).
If you want each port to use a different protocol (TCP or UDP), then you
can specify the protocol on a per-port basis. See the example below.
.TP
.B "\-v, \-\-verbose"
Output verbose status messages.
.TP
.B "\-V, \-\-version"
Display the version.
.TP
.B "\-h, \-\-help"
Syntax help.
.SH EXAMPLES
.nf
knock myserver.example.com 123:tcp 456:udp 789:tcp
knock -u myserver.example.com 8284 4721 18592 42912
.fi
.SH SEE ALSO
\fBknockd\fP is the accompanying port-knock server.
.SH AUTHOR
.nf
Judd Vinet <jvinet@zeroflux.org>
.fi