summaryrefslogtreecommitdiffstats
path: root/iptables.8
diff options
context:
space:
mode:
authorJames Morris <jmorris@intercode.com.au>2000-06-23 16:44:47 +0000
committerJames Morris <jmorris@namei.org>2000-06-23 16:44:47 +0000
commit59e90fdcdba12b34276d8a729f909e51a52002d5 (patch)
tree832eb0cae1c6d5e09d7a3d8f66fd04ed733da97c /iptables.8
parentf7e72d5730420194d6d3e441e881f8d7f217d888 (diff)
updated port range specification to match existing code
Diffstat (limited to 'iptables.8')
-rw-r--r--iptables.812
1 files changed, 5 insertions, 7 deletions
diff --git a/iptables.8 b/iptables.8
index 176df721..38f14acf 100644
--- a/iptables.8
+++ b/iptables.8
@@ -309,13 +309,11 @@ to invert the sense of the match.
These extensions are loaded if `--protocol tcp' is specified, and no
other match is specified. It provides the following options:
.TP
-.BR "--source-port " "[!] [\fIport[:port]\fP] or [\fIport[-port]]\fP]"
+.BR "--source-port " "[!] [\fIport[:port]\fP]"
Source port or port range specification. This can either be a service
name or a port number. An inclusive range can also be specified,
using the format
-.IR port : port
-or
-.IR port - port .
+.IR port : port .
If the first port is omitted, "0" is assumed; if the last is omitted,
"65535" is assumed.
If the second port greater then the first they will be swapped.
@@ -323,7 +321,7 @@ The flag
.B --sport
is an alias for this option.
.TP
-.BR "--destination-port " "[!] [\fIport[:port]\fP] or [\fIport[-port]]\fP"
+.BR "--destination-port " "[!] [\fIport[:port]\fP]"
Destination port or port range specification. The flag
.B --dport
is an alias for this option.
@@ -357,13 +355,13 @@ Match if TCP option set.
These extensions are loaded if `--protocol udp' is specified, and no
other match is specified. It provides the following options:
.TP
-.BR "--source-port " "[!] [\fIport[:port]\fP] or [\fIport[-port]]\fP"
+.BR "--source-port " "[!] [\fIport[:port]\fP]"
Source port or port range specification.
See the description of the
.B --source-port
option of the TCP extension for details.
.TP
-.BR "--destination-port " "[!] [\fIport[:port]\fP] or [\fIport[-port]]\fP"
+.BR "--destination-port " "[!] [\fIport[:port]\fP]"
Destination port or port range specification.
See the description of the
.B --destination-port