Make port number clearer in VPN Basics article

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8641 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-07-17 19:24:34 +00:00
parent 229cc9423d
commit e66f14dff7

View File

@ -348,7 +348,7 @@ ACCEPT Z1:1.2.3.4 $FW 47</programlisting>
<blockquote> <blockquote>
<programlisting>#TYPE ZONE GATEWAY GATEWAY ZONE <programlisting>#TYPE ZONE GATEWAY GATEWAY ZONE
openvpn:P Z1 1.2.3.4</programlisting> openvpn:<emphasis>port</emphasis> Z1 1.2.3.4</programlisting>
</blockquote> </blockquote>
<para><filename>/etc/shorewall/rules</filename>:</para> <para><filename>/etc/shorewall/rules</filename>:</para>
@ -357,15 +357,15 @@ openvpn:P Z1 1.2.3.4</programlisting>
<programlisting>#ACTION SOURCE DEST PROTO DEST SOURCE <programlisting>#ACTION SOURCE DEST PROTO DEST SOURCE
# PORT PORT(S) # PORT PORT(S)
ACCEPT Z1:1.2.3.4 $FW udp P ACCEPT Z1:1.2.3.4 $FW udp <emphasis>port</emphasis>
ACCEPT $FW Z1:1.2.3.4 udp P</programlisting> ACCEPT $FW Z1:1.2.3.4 udp <emphasis>port</emphasis></programlisting>
</blockquote> </blockquote>
<para><filename>/etc/shorewall/tunnels</filename>:</para> <para><filename>/etc/shorewall/tunnels</filename>:</para>
<blockquote> <blockquote>
<programlisting>#TYPE ZONE GATEWAY GATEWAY ZONE <programlisting>#TYPE ZONE GATEWAY GATEWAY ZONE
openvpnclient:P Z1 1.2.3.4</programlisting> openvpnclient:<emphasis>port</emphasis> Z1 1.2.3.4</programlisting>
</blockquote> </blockquote>
<para><filename>/etc/shorewall/rules</filename>:</para> <para><filename>/etc/shorewall/rules</filename>:</para>
@ -374,15 +374,15 @@ openvpnclient:P Z1 1.2.3.4</programlisting>
<programlisting>#ACTION SOURCE DEST PROTO DEST SOURCE <programlisting>#ACTION SOURCE DEST PROTO DEST SOURCE
# PORT PORT(S) # PORT PORT(S)
ACCEPT Z1:1.2.3.4 $FW udp - P ACCEPT Z1:1.2.3.4 $FW udp - <emphasis>port</emphasis>
ACCEPT $FW Z1:1.2.3.4 udp P</programlisting> ACCEPT $FW Z1:1.2.3.4 udp <emphasis>port</emphasis></programlisting>
</blockquote> </blockquote>
<para><filename>/etc/shorewall/tunnels</filename>:</para> <para><filename>/etc/shorewall/tunnels</filename>:</para>
<blockquote> <blockquote>
<programlisting>#TYPE ZONE GATEWAY GATEWAY ZONE <programlisting>#TYPE ZONE GATEWAY GATEWAY ZONE
openvpnserver:P Z1 1.2.3.4</programlisting> openvpnserver:<emphasis>port</emphasis> Z1 1.2.3.4</programlisting>
</blockquote> </blockquote>
<para><filename>/etc/shorewall/rules</filename>:</para> <para><filename>/etc/shorewall/rules</filename>:</para>
@ -391,8 +391,8 @@ openvpnserver:P Z1 1.2.3.4</programlisting>
<programlisting>#ACTION SOURCE DEST PROTO DEST SOURCE <programlisting>#ACTION SOURCE DEST PROTO DEST SOURCE
# PORT PORT(S) # PORT PORT(S)
ACCEPT Z1:1.2.3.4 $FW udp P ACCEPT Z1:1.2.3.4 $FW udp <emphasis>port</emphasis>
ACCEPT $FW Z1:1.2.3.4 udp - P</programlisting> ACCEPT $FW Z1:1.2.3.4 udp - <emphasis>port</emphasis></programlisting>
</blockquote> </blockquote>
</section> </section>
</section> </section>