Site Tools


openvpn_extra_connection

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
openvpn_extra_connection [2022/09/08 10:41] rs232openvpn_extra_connection [2023/06/06 20:50] (current) – -add tinc link hogwild
Line 1: Line 1:
-There are some rare cases where you might want to add more connections (Server/client) that the GUI allows you to define. +====== Additional OpenVPN Server/Client connections ======
-First of all hyou should question yourself if you're using the right technology as for numerous site-to-site connection you'll find tinc a better/easier technology.+
  
-That said find here an example that allows you to define a "Server3":+There are rare situations when you might want to add more OpenVPN connections (Server/client) than are allowed in the Web interface.
  
 +First, consider whether you're using the right technology. For multiple site-to-site connections, you'll probably find [[vpn-tinc|tinc]] to be a better and easier to manage technology. It scales more easily.
  
-<code>mkdir /tmp/etc/openvpn/server3/+ \\ 
 + 
 +If you decide you still want additional OpenVPN connections, this example will define a server named "Server3": 
 + 
 + \\ 
 + 
 +<code -> 
 +mkdir /tmp/etc/openvpn/server3/
 cd /tmp/etc/openvpn cd /tmp/etc/openvpn
 ln -s /usr/sbin/openvpn vpnserver3 ln -s /usr/sbin/openvpn vpnserver3
Line 31: Line 38:
 /etc/openvpn/vpnserver3 --cd /etc/openvpn/server3 --config config.ovpn /etc/openvpn/vpnserver3 --cd /etc/openvpn/server3 --config config.ovpn
 </code> </code>
 +
 + \\ \\
 +
 +
openvpn_extra_connection.1662630103.txt.gz · Last modified: 2022/09/08 10:41 by rs232