Home | History | Annotate | Download | only in extensions
      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 either the source or destination ports are equal to one of
     20 the given ports.
     21