~csurbhi/ubuntu/maverick/iptables/iptable-fix.600195

« back to all changes in this revision

Viewing changes to iptables/extensions/libipt_multiport.man

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2008-06-24 15:06:04 UTC
  • mfrom: (5.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080624150604-5t7r1o1kxq0ycz81
Tags: 1.4.0-4ubuntu1
* Merge from debian unstable, remaining changes:
  - Took references to 2.4 kernel out of doc-base control files (Jordan
    Mantha, Malone #25972) (patches/all/091-fix-2.4-references.patch)
  - Use linux-libc-dev instead of local copy of kernel-headers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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.