New syntax convention in nat manpage

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4980 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-11-22 23:16:29 +00:00
parent 7190c76875
commit 1a29390418

View File

@ -34,7 +34,8 @@
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><emphasis role="bold">EXTERNAL</emphasis></term> <term><emphasis role="bold">EXTERNAL</emphasis>
<emphasis>address</emphasis></term>
<listitem> <listitem>
<para>External IP Address - this should NOT be the primary IP <para>External IP Address - this should NOT be the primary IP
@ -52,18 +53,20 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><emphasis role="bold">INTERFACE</emphasis></term> <term><emphasis role="bold">INTERFACE</emphasis>
<emphasis>interface</emphasis>[<emphasis
role="bold">:</emphasis>[<emphasis>digit</emphasis>]]</term>
<listitem> <listitem>
<para>Interface that has the <emphasis <para>Interface that has the <emphasis
role="bold">EXTERNAL</emphasis> address. If ADD_IP_ALIASES=Yes in role="bold">EXTERNAL</emphasis> address. If ADD_IP_ALIASES=Yes in
shorewall.conf(5), Shorewall will automatically add the EXTERNAL shorewall.conf(5), Shorewall will automatically add the EXTERNAL
address to this interface. Also if ADD_IP_ALIASES=Yes, you may address to this interface. Also if ADD_IP_ALIASES=Yes, you may
follow the interface name with ":" and a digit to indicate that you follow the interface name with ":" and a <emphasis>digit</emphasis>
want Shorewall to add the alias with this name (e.g., "eth0:0"). to indicate that you want Shorewall to add the alias with this name
That allows you to see the alias with ifconfig. <emphasis (e.g., "eth0:0"). That allows you to see the alias with ifconfig.
role="bold">That is the only thing that this name is good for -- you <emphasis role="bold">That is the only thing that this name is good
cannot use it anwhere else in your Shorewall for -- you cannot use it anwhere else in your Shorewall
configuration.</emphasis></para> configuration.</emphasis></para>
<para>If you want to override ADD_IP_ALIASES=Yes for a particular <para>If you want to override ADD_IP_ALIASES=Yes for a particular
@ -73,7 +76,8 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><emphasis role="bold">INTERNAL</emphasis></term> <term><emphasis role="bold">INTERNAL</emphasis>
<emphasis>address</emphasis></term>
<listitem> <listitem>
<para>Internal Address (must not be a DNS Name).</para> <para>Internal Address (must not be a DNS Name).</para>
@ -81,7 +85,8 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><emphasis role="bold">ALL INTERFACES</emphasis></term> <term><emphasis role="bold">ALL INTERFACES</emphasis> - [<emphasis
role="bold">Yes</emphasis>|<emphasis role="bold">No</emphasis>]</term>
<listitem> <listitem>
<para>If Yes or yes, NAT will be effective from all hosts. If No or <para>If Yes or yes, NAT will be effective from all hosts. If No or
@ -92,7 +97,8 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><emphasis role="bold">LOCAL</emphasis></term> <term><emphasis role="bold">LOCAL</emphasis> — [<emphasis
role="bold">Yes</emphasis>|<emphasis role="bold">No</emphasis>]</term>
<listitem> <listitem>
<para>If <emphasis role="bold">Yes</emphasis> or <emphasis <para>If <emphasis role="bold">Yes</emphasis> or <emphasis