mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 09:47:51 +02:00
Add serverport to rules manpage syntax description
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5444 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
06531484c4
commit
b74346533b
@ -521,7 +521,7 @@
|
|||||||
role="bold">+</emphasis>][<emphasis
|
role="bold">+</emphasis>][<emphasis
|
||||||
role="bold">-</emphasis>]}<emphasis
|
role="bold">-</emphasis>]}<emphasis
|
||||||
role="bold">[:{</emphasis><emphasis>interface</emphasis>|<emphasis>address-or-range</emphasis>[,<emphasis>address-or-range</emphasis>]...[<emphasis>exclusion</emphasis>]|<emphasis>exclusion</emphasis>|<emphasis
|
role="bold">[:{</emphasis><emphasis>interface</emphasis>|<emphasis>address-or-range</emphasis>[,<emphasis>address-or-range</emphasis>]...[<emphasis>exclusion</emphasis>]|<emphasis>exclusion</emphasis>|<emphasis
|
||||||
role="bold">+</emphasis><emphasis>ipset</emphasis>}]</term>
|
role="bold">+</emphasis><emphasis>ipset</emphasis>}][<option>:</option><replaceable>port</replaceable>]</term>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Location of Server. May be a zone declared in <ulink
|
<para>Location of Server. May be a zone declared in <ulink
|
||||||
@ -579,11 +579,12 @@
|
|||||||
role="bold">DEST</emphasis> columns may specify an ipset
|
role="bold">DEST</emphasis> columns may specify an ipset
|
||||||
name.</para>
|
name.</para>
|
||||||
|
|
||||||
<para>The port that the server is listening on may be included and
|
<para>The <replaceable>port</replaceable> that the server is
|
||||||
separated from the server's IP address by ":". If omitted, the
|
listening on may be included and separated from the server's IP
|
||||||
firewall will not modifiy the destination port. A destination port
|
address by ":". If omitted, the firewall will not modifiy the
|
||||||
may only be included if the <emphasis role="bold">ACTION</emphasis>
|
destination port. A destination port may only be included if the
|
||||||
is <emphasis role="bold">DNAT</emphasis> or <emphasis
|
<emphasis role="bold">ACTION</emphasis> is <emphasis
|
||||||
|
role="bold">DNAT</emphasis> or <emphasis
|
||||||
role="bold">REDIRECT</emphasis>. Example:</para>
|
role="bold">REDIRECT</emphasis>. Example:</para>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
@ -604,7 +605,8 @@
|
|||||||
role="bold">REDIRECT</emphasis> or <emphasis
|
role="bold">REDIRECT</emphasis> or <emphasis
|
||||||
role="bold">REDIRECT-</emphasis>, this column needs only to
|
role="bold">REDIRECT-</emphasis>, this column needs only to
|
||||||
contain the port number on the firewall that the request should be
|
contain the port number on the firewall that the request should be
|
||||||
redirected to.</para>
|
redirected to. That is equivalent to specifying
|
||||||
|
<option>$FW</option>::<replaceable>port</replaceable>.</para>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user