mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +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>
|
||||
</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>
|
||||
|
Loading…
Reference in New Issue
Block a user