Update formatting in Dynamic Zones doc.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-10-09 07:08:35 -07:00
parent 54e066ec3a
commit 18f981d7cc

View File

@ -200,9 +200,10 @@
<section id="defining"> <section id="defining">
<title>Defining a Dynamic Zone</title> <title>Defining a Dynamic Zone</title>
<para>A dynamic zone is defined by specifying the <para>A dynamic zone is defined by specifying the <emphasis
<option>dynamic_shared</option> option in the zones file and using the role="bold">dynamic_shared</emphasis> option in the zones file and using
<option>dynamic</option> keyword in the hosts list.</para> the <emphasis role="bold">dynamic</emphasis> keyword in the hosts
list.</para>
<para><filename>/etc/shorewall/zones</filename>:<programlisting>#NAME TYPE OPTIONS <para><filename>/etc/shorewall/zones</filename>:<programlisting>#NAME TYPE OPTIONS
net ipv4 net ipv4
@ -215,11 +216,12 @@ loc eth1 - …</programlisting>
<para><filename>/etc/shorewall/hosts</filename>:</para> <para><filename>/etc/shorewall/hosts</filename>:</para>
<programlisting>#ZONE HOSTS OPTIONS <programlisting>#ZONE HOSTS OPTIONS
rsyncok eth0:<option>dynamic</option> rsyncok eth0:<emphasis role="bold">dynamic</emphasis>
rsyncok eth1:<option>dynamic</option></programlisting> rsyncok eth1:<emphasis role="bold">dynamic</emphasis></programlisting>
<para>When the <option>dynamic_shared</option> option is specified, a <para>When the <emphasis role="bold">dynamic_shared</emphasis> option is
single ipset is created; the ipset has the same name as the zone.</para> specified, a single ipset is created; the ipset has the same name as the
zone.</para>
</section> </section>
<section id="Adding"> <section id="Adding">
@ -311,7 +313,7 @@ loc eth0 - …
<para><filename>/etc/shorewall/hosts</filename>:</para> <para><filename>/etc/shorewall/hosts</filename>:</para>
<programlisting>#ZONE HOSTS OPTIONS <programlisting>#ZONE HOSTS OPTIONS
webok eth0:dynamic</programlisting> webok eth0:<emphasis role="bold">dynamic</emphasis></programlisting>
</blockquote> </blockquote>
<para>Once the above definition is added, Shorewall will automatically <para>Once the above definition is added, Shorewall will automatically