Busybox: Upgrade to 1.21.1 (stable). lsof active.
[tomato.git] / release / src / router / iptables / extensions / libipt_mport.man
blobcead84e749b1a05cd6edeba492af659b01adfffa
1 This module matches a set of source or destination ports.  Up to 15
2 ports can be specified.  It can only be used in conjunction with
3 .B "-p tcp"
4 or
5 .BR "-p udp" .
6 .TP
7 .BR "--source-ports " "\fIport\fP[,\fIport\fP[,\fIport\fP...]]"
8 Match if the source port is one of the given ports.  The flag
9 .B --sports
10 is a convenient alias for this option.
11 .TP
12 .BR "--destination-ports " "\fIport\fP[,\fIport\fP[,\fIport\fP...]]"
13 Match if the destination port is one of the given ports.  The flag
14 .B --dports
15 is a convenient alias for this option.
16 .TP
17 .BR "--ports " "\fIport\fP[,\fIport\fP[,\fIport\fP...]]"
18 Match if the both the source and destination ports are equal to each
19 other and to one of the given ports.