684f49ff3cb1e9ac95ac7fb3dcc90c7f510a652f
[iptables.git] / extensions / libip6t_multiport.man
1 This module matches a set of source or destination ports.  Up to 15
2 ports can be specified.  A port range (port:port) counts as two
3 ports.  It can only be used in conjunction with
4 .B "-p tcp"
5 or
6 .BR "-p udp" .
7 .TP
8 .BR "--source-ports " "\fI[!] port\fP[,\fIport\fP[,\fIport:port\fP...]]"
9 Match if the source port is one of the given ports.  The flag
10 .B --sports
11 is a convenient alias for this option.
12 .TP
13 .BR "--destination-ports " "\fI[!] port\fP[,\fIport\fP[,\fIport:port\fP...]]"
14 Match if the destination port is one of the given ports.  The flag
15 .B --dports
16 is a convenient alias for this option.
17 .TP
18 .BR "--ports " "\fI[!] port\fP[,\fIport\fP[,\fIport:port\fP...]]"
19 Match if the both the source and destination ports are equal to each
20 other and to one of the given ports.