Blame extensions/libxt_multiport.man

Packit 7b22a4
This module matches a set of source or destination ports.  Up to 15
Packit 7b22a4
ports can be specified.  A port range (port:port) counts as two
Packit 7b22a4
ports.  It can only be used in conjunction with one of the
Packit 7b22a4
following protocols:
Packit 7b22a4
\fBtcp\fP, \fBudp\fP, \fBudplite\fP, \fBdccp\fP and \fBsctp\fP.
Packit 7b22a4
.TP
Packit 7b22a4
[\fB!\fP] \fB\-\-source\-ports\fP,\fB\-\-sports\fP \fIport\fP[\fB,\fP\fIport\fP|\fB,\fP\fIport\fP\fB:\fP\fIport\fP]...
Packit 7b22a4
Match if the source port is one of the given ports.  The flag
Packit 7b22a4
\fB\-\-sports\fP
Packit 7b22a4
is a convenient alias for this option. Multiple ports or port ranges are
Packit 7b22a4
separated using a comma, and a port range is specified using a colon.
Packit 7b22a4
\fB53,1024:65535\fP would therefore match ports 53 and all from 1024 through
Packit 7b22a4
65535.
Packit 7b22a4
.TP
Packit 7b22a4
[\fB!\fP] \fB\-\-destination\-ports\fP,\fB\-\-dports\fP \fIport\fP[\fB,\fP\fIport\fP|\fB,\fP\fIport\fP\fB:\fP\fIport\fP]...
Packit 7b22a4
Match if the destination port is one of the given ports.  The flag
Packit 7b22a4
\fB\-\-dports\fP
Packit 7b22a4
is a convenient alias for this option.
Packit 7b22a4
.TP
Packit 7b22a4
[\fB!\fP] \fB\-\-ports\fP \fIport\fP[\fB,\fP\fIport\fP|\fB,\fP\fIport\fP\fB:\fP\fIport\fP]...
Packit 7b22a4
Match if either the source or destination ports are equal to one of
Packit 7b22a4
the given ports.