Merge to iptables-1.3.5
[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, but range isn't supported now. It can only be used in conjunction
4 with
5 .B "-p tcp"
6 or
7 .BR "-p udp" .
8 .TP
9 .BR "--source-ports " "\fI[!] port\fP[,\fIport\fP[,\fIport:port\fP...]]"
10 Match if the source port is one of the given ports.  The flag
11 .B --sports
12 is a convenient alias for this option.
13 .TP
14 .BR "--destination-ports " "\fI[!] port\fP[,\fIport\fP[,\fIport:port\fP...]]"
15 Match if the destination port is one of the given ports.  The flag
16 .B --dports
17 is a convenient alias for this option.
18 .TP
19 .BR "--ports " "\fI[!] port\fP[,\fIport\fP[,\fIport:port\fP...]]"
20 Match if the both the source and destination ports are equal to each
21 other and to one of the given ports.