Add information about using TCP to the OpenVPN document

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2903 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-10-18 15:58:41 +00:00
parent b20a7b3067
commit f7072b13b4

View File

@ -21,7 +21,7 @@
</author>
</authorgroup>
<pubdate>2005-10-15</pubdate>
<pubdate>2005-10-18</pubdate>
<copyright>
<year>2003</year>
@ -152,6 +152,26 @@ openvpn net 134.28.54.2</programlisting>
openvpn:7777 net 134.28.54.2</programlisting>
</blockquote>
<para>Similarly, if you want to use TCP for your tunnel rather than UDP
(the default), then you can define /etc/shorewall/tunnels like
this:</para>
<blockquote>
<para>/etc/shorewall/tunnels using TCP:</para>
<programlisting>#TYPE ZONE GATEWAY GATEWAY ZONE
openvpn:tcp net 134.28.54.2</programlisting>
</blockquote>
<para>Finally, if you want to use TCP and port 7777:</para>
<blockquote>
<para>/etc/shorewall/tunnels using TCP port 7777:</para>
<programlisting>#TYPE ZONE GATEWAY GATEWAY ZONE
openvpn:tcp:7777 net 134.28.54.2</programlisting>
</blockquote>
<para>This is the OpenVPN config on system A:</para>
<blockquote>