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