mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-19 11:11:22 +01:00
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:
parent
b20a7b3067
commit
f7072b13b4
@ -21,7 +21,7 @@
|
|||||||
</author>
|
</author>
|
||||||
</authorgroup>
|
</authorgroup>
|
||||||
|
|
||||||
<pubdate>2005-10-15</pubdate>
|
<pubdate>2005-10-18</pubdate>
|
||||||
|
|
||||||
<copyright>
|
<copyright>
|
||||||
<year>2003</year>
|
<year>2003</year>
|
||||||
@ -152,6 +152,26 @@ openvpn net 134.28.54.2</programlisting>
|
|||||||
openvpn:7777 net 134.28.54.2</programlisting>
|
openvpn:7777 net 134.28.54.2</programlisting>
|
||||||
</blockquote>
|
</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>
|
<para>This is the OpenVPN config on system A:</para>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
|
Loading…
Reference in New Issue
Block a user