mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-13 00:09:43 +01:00
Update VPN Basics Doc
This commit is contained in:
parent
512273fa91
commit
db8092d71e
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user