Update VPN Basics Doc

This commit is contained in:
Tom Eastep 2011-07-30 09:16:26 -07:00
parent 512273fa91
commit db8092d71e

View File

@ -204,9 +204,9 @@ loc ipv4
<para><filename>/etc/shorewall/interfaces</filename>:</para> <para><filename>/etc/shorewall/interfaces</filename>:</para>
<programlisting>#ZONE INTERFACE BROADCAST OPTION <programlisting>#ZONE INTERFACE BROADCAST OPTION
net eth0 detect norft1918,routefilter net eth0 - tcpflags,routefilter
loc eth1 detect loc eth1 -
<emphasis role="bold">rem ppp0 192.168.10.0/24</emphasis></programlisting> <emphasis role="bold">rem ppp0 -</emphasis></programlisting>
</section> </section>
<section id="Traffic"> <section id="Traffic">
@ -251,17 +251,17 @@ loc rem ACCEPT</programlisting>
<para><filename>etc/shorewall/zones</filename>:</para> <para><filename>etc/shorewall/zones</filename>:</para>
<programlisting>#ZONE DISPLAY COMMENT <programlisting>#ZONE TYPE OPTIONS
net Internet The big bad net net ipv4
loc Local Local LAN loc ipv4
<emphasis role="bold">rem1 Remote1 Remote LAN 1 <emphasis role="bold">rem1 ipv4 #Remote LAN 1
rem2 Remote2 Remote LAN 2</emphasis></programlisting> rem2 ipv4 #Remote LAN 2</emphasis></programlisting>
<para><filename>/etc/shorewall/interfaces</filename>:</para> <para><filename>/etc/shorewall/interfaces</filename>:</para>
<programlisting>#ZONE INTERFACE BROADCAST OPTION <programlisting>#ZONE INTERFACE BROADCAST OPTION
net eth0 detect norft1918,routefilter net eth0 - tcpflags,routefilter
loc eth1 detect loc eth1 -
<emphasis role="bold">- tun+ -</emphasis></programlisting> <emphasis role="bold">- tun+ -</emphasis></programlisting>
<para>/etc/shorewall/hosts:</para> <para>/etc/shorewall/hosts:</para>