c09098b60dc46d8f8627f74af893669e7b743d9b
wiki/info/landscape/olympic-setup.md
| ... | ... | @@ -42,6 +42,12 @@ TracTrac Dev Jorge (Linux) 10.1.3.228 10.8.0.135 |
| 42 | 42 | TracTrac Dev Chris (Linux) 10.1.3.233 10.8.0.136 |
| 43 | 43 | ``` |
| 44 | 44 | |
| 45 | +The OpenVPN connection is set up with the GUI of the Linux Desktop. Therefore the management is done through Network Manager. Network Manager has a CLI, ``nmcli``. With that more properties of connections can be modified. The ``connection.secondaries`` property defines the UUID of a connection that will be established as soon as the initial connection is working. With ``nmcli connection show`` you will get the list of connections with the corresponding UUIDs. For the Medemblik Event the OpenVPN connection to the A server is bound to the wired interface that is used with |
|
| 46 | +``` |
|
| 47 | +sudo nmcli connection modify <Wired Connection 2> +connection.secondaries <UUID-of-OpenVPN-A> |
|
| 48 | +``` |
|
| 49 | + |
|
| 50 | + |
|
| 45 | 51 | ### Tunnels |
| 46 | 52 | |
| 47 | 53 | On both laptops there is a script ``/usr/local/bin/tunnels`` which establishes SSH tunnels using the ``autossh`` tool. The ``autossh`` processes are forked into the background using the ``-f`` option. It seems important to then pass the port to use for sending heartbeats using the ``-M`` option. If this is omitted, according to my experience only one of several ``autossh`` processes survives. |