From b74346533ba16668f146f97211c42ca83b5fead6 Mon Sep 17 00:00:00 2001 From: teastep Date: Mon, 26 Feb 2007 16:15:13 +0000 Subject: [PATCH] Add serverport to rules manpage syntax description git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5444 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- manpages/shorewall-rules.xml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/manpages/shorewall-rules.xml b/manpages/shorewall-rules.xml index 18fc88b57..3e2b883f9 100644 --- a/manpages/shorewall-rules.xml +++ b/manpages/shorewall-rules.xml @@ -521,7 +521,7 @@ role="bold">+][-]}[:{interface|address-or-range[,address-or-range]...[exclusion]|exclusion|+ipset}] + role="bold">+ipset}][port] Location of Server. May be a zone declared in DEST columns may specify an ipset name. - The port that the server is listening on may be included and - separated from the server's IP address by ":". If omitted, the - firewall will not modifiy the destination port. A destination port - may only be included if the ACTION - is DNAT or The port that the server is + listening on may be included and separated from the server's IP + address by ":". If omitted, the firewall will not modifiy the + destination port. A destination port may only be included if the + ACTION is DNAT or REDIRECT. Example: @@ -604,7 +605,8 @@ role="bold">REDIRECT or REDIRECT-, this column needs only to contain the port number on the firewall that the request should be - redirected to. + redirected to. That is equivalent to specifying + ::port.