Tutorial: Update OpenVPN Software on a CloudConnexa Connector
Overview
Keep your CloudConnexa connector software current by installing available updates on the device running the connector.
This tutorial provides basic update instructions for each operating system and explains how to verify that the connector reconnects to CloudConnexa.
Before you begin
Ensure you have:
Access to the connector device: SSH access with
sudoprivileges on Linux, or administrator permissions on Windows or macOS. Ensure your access doesn't depend on the connector's own VPN tunnel.A maintenance window: Schedule updates when the fewest users depend on the connector.
A recovery plan: For cloud-hosted connectors, consider creating a VM snapshot or backup before updating.
A rollout plan: If you manage multiple connectors, update a less critical connector first and confirm that it reconnects before continuing.
Update a Linux connector
Linux connectors use the OpenVPN 3 Linux client.
The OpenVPN 3 Linux packages and related components are maintained through the Linux distribution's package management system. When you install your regular system updates, available OpenVPN 3 Linux updates are included, provided the required package repositories are configured and enabled.
This includes related packages such as Data Channel Offload (DCO) kernel modules, when installed and managed through the package manager.
Ubuntu and Debian
Use APT to install available system updates.
Connect to the Linux device using SSH.
Refresh the package list:
sudo apt updateInstall available package updates:
sudo apt upgradeReview the proposed changes and follow any terminal prompts.
For more information, refer to your distribution's documentation:
Raspberry Pi OS
Use APT to install available system updates.
Connect to the Raspberry Pi device.
Refresh the package list:
sudo apt updateInstall available package updates:
sudo apt full-upgradeReview the proposed changes and follow any terminal prompts.
For more information, refer to Raspberry Pi OS: Manage software and firmware updates.
Fedora, Red Hat Enterprise Linux, Rocky Linux, and AlmaLinux
Use DNF to install available system updates.
Connect to the Linux device using SSH.
Install available package updates:
sudo dnf updateReview the proposed changes and follow any terminal prompts.
For more information, refer to your distribution's documentation:
Restart the Linux connector
After installing the updates, restart the Linux device to ensure that updated system components, including the kernel and any installed DCO module, are loaded.
Run:
sudo systemctl rebootWait for the device to restart before verifying the connector connection.
Update a Windows connector
Windows connectors typically run OpenVPN Connect as a system service. Don't open the OpenVPN Connect app while the service is running.
Open PowerShell and run the following to check the installed version:
(Get-Item "$env:ProgramFiles\OpenVPN Connect\OpenVPNConnect.exe").VersionInfo.ProductVersionDownload the latest OpenVPN Connect for Windows.
Run the downloaded installer and follow the installation prompts to update the existing installation.
Open Services (
services.msc) and confirm the connector service is Running and its Startup Type is Automatic.Open ovpnconnector.log in the OpenVPN Connect installation directory and confirm the last lines include
EVENT: CONNECTED.If the service isn't running, open Command Prompt as an administrator and change to the app installation directory:
cd /d "%ProgramFiles%\OpenVPN Connect"Start the service:
ovpnconnector.exe start
Update a macOS connector
macOS connectors use OpenVPN Connect.
To update OpenVPN Connect:
On the Mac running the connector, open OpenVPN Connect and check the installed version in the application menu.
Download the latest OpenVPN Connect for macOS.
Open the downloaded
.dmgfile.Select the installer that matches your Mac's processor and complete the installation.
Open OpenVPN Connect and verify that the connector's connection profile is available.
Reconnect to CloudConnexa if necessary.
For additional installation information, refer to How to Install OpenVPN Connect on macOS.
Verify the connector update
After updating the software and restarting the device if needed, confirm that the connector is online.
To verify the connector status:
Sign in to the CloudConnexa Administration Portal using your WPC's Cloud ID address (for example,
yourcompany.openvpn.com).Navigate to the appropriate connector page:
For a network connector, navigate to Networks → Connectors.
For a host connector, navigate to Hosts → Connectors.
Locate the connector and confirm its Connection Status is Online.
Verify the installed software version (optional)
You can also verify the installed software version directly on the device.
Linux
To verify the OpenVPN 3 Linux version:
Open a terminal on the Linux device.
Run the following command:
sudo openvpn3-admin version --servicesConfirm that the installed version matches the version you updated to.
To list active VPN sessions, run:
sudo openvpn3-admin sessionmgr-service --list-sessionsVerify that the expected CloudConnexa connection is active.
If the Linux connector doesn't reconnect, refer to Tutorial: Learn to Install and Control the OpenVPN 3 Client.
Windows
To verify the OpenVPN Connect Windows service:
Open PowerShell and run:
(Get-Item "$env:ProgramFiles\OpenVPN Connect\OpenVPNConnect.exe").VersionInfo.ProductVersionConfirm that the version matches the one you installed.
macOS
To verify the installed OpenVPN Connect version:
Launch the OpenVPN Connect app.
Select the menu.
Locate Current Version at the bottom of the menu.
Confirm that the displayed version matches the version you installed.