forked from extern/shorewall_code
Fix typo in Routing-on-one-interface doc
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7646 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
d70a4667a8
commit
9a2ab381dd
@ -239,10 +239,6 @@ loc1 loc NONE</programlisting>
|
|||||||
loc1 ipv4
|
loc1 ipv4
|
||||||
loc2 ipv4</programlisting>
|
loc2 ipv4</programlisting>
|
||||||
|
|
||||||
<note>
|
|
||||||
<para>Here it doesn't matter which zone is defined first.</para>
|
|
||||||
</note>
|
|
||||||
|
|
||||||
<para><filename>/etc/shorewall/interfaces</filename></para>
|
<para><filename>/etc/shorewall/interfaces</filename></para>
|
||||||
|
|
||||||
<programlisting>#ZONE INTERFACE BROADCAST
|
<programlisting>#ZONE INTERFACE BROADCAST
|
||||||
@ -279,12 +275,8 @@ loc2 loc1 NONE</programlisting>
|
|||||||
<para><filename>/etc/shorewall/zones</filename></para>
|
<para><filename>/etc/shorewall/zones</filename></para>
|
||||||
|
|
||||||
<programlisting>#ZONE TYPE OPTIONS
|
<programlisting>#ZONE TYPE OPTIONS
|
||||||
loc1 ipv4
|
loc ipv4
|
||||||
loc ipv4</programlisting>
|
loc1:loc ipv4</programlisting>
|
||||||
|
|
||||||
<note>
|
|
||||||
<para>the sub-zone (loc1) is defined first!</para>
|
|
||||||
</note>
|
|
||||||
|
|
||||||
<para><filename>/etc/shorewall/interfaces</filename></para>
|
<para><filename>/etc/shorewall/interfaces</filename></para>
|
||||||
|
|
||||||
@ -324,12 +316,8 @@ loc1 loc NONE</programlisting>
|
|||||||
<para><filename>/etc/shorewall/zones</filename></para>
|
<para><filename>/etc/shorewall/zones</filename></para>
|
||||||
|
|
||||||
<programlisting>#ZONE TYPE OPTIONS
|
<programlisting>#ZONE TYPE OPTIONS
|
||||||
loc1 ipv4
|
net ipv4
|
||||||
net ipv4</programlisting>
|
loc:net ipv4</programlisting>
|
||||||
|
|
||||||
<note>
|
|
||||||
<para>the sub-zone (loc) is defined first!</para>
|
|
||||||
</note>
|
|
||||||
|
|
||||||
<para><filename>/etc/shorewall/interfaces</filename></para>
|
<para><filename>/etc/shorewall/interfaces</filename></para>
|
||||||
|
|
||||||
@ -343,13 +331,14 @@ loc eth0:192.168.1.0/24 maclist</programlisting>
|
|||||||
|
|
||||||
<para><filename><filename>/etc/shorewall/masq</filename></filename></para>
|
<para><filename><filename>/etc/shorewall/masq</filename></filename></para>
|
||||||
|
|
||||||
<programlisting>#INTERFACE SUBNET ADDRESS
|
<programlisting>#INTERFACE SOURCE ADDRESS
|
||||||
eth0:!192.168.1.0/24 192.168.1.0/24</programlisting>
|
eth0:!192.168.1.0/24 192.168.1.0/24</programlisting>
|
||||||
|
|
||||||
<para>Note that the maclist option is specified in
|
<para>Note that the <emphasis role="bold">maclist</emphasis> option is
|
||||||
<filename>/etc/shorewall/interfaces</filename>. This is to help protect
|
specified in <filename>/etc/shorewall/interfaces</filename>. This is to
|
||||||
your router from unauthorized access by your friends and neighbors. Start
|
help protect your router from unauthorized access by your friends and
|
||||||
without maclist then add it and configure your <ulink
|
neighbors. Start without <emphasis role="bold">maclist</emphasis> then add
|
||||||
|
it and configure your <ulink
|
||||||
url="MAC_Validation.html"><filename>/etc/shorewall/maclist</filename></ulink>
|
url="MAC_Validation.html"><filename>/etc/shorewall/maclist</filename></ulink>
|
||||||
file when everything else is working.</para>
|
file when everything else is working.</para>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
Reference in New Issue
Block a user