Tutorial: Learn to Install and Control the OpenVPN 3 Client
Overview
This tutorial shows you how to install the OpenVPN 3 Linux client, import your CloudConnexa connection profile, and establish a VPN connection — either as a manual session or as a persistent service that starts automatically at boot.
Before you begin
Ensure you have the following to start this tutorial:
A CloudConnexa account with an active subscription.
A downloaded
.ovpnconnection profile for your CloudConnexa network. See Download a Connection Profile for instructions.A supported Linux distribution. See the table below.
Terminal access.
Distribution | Release | Release Name ($DISTRO) | Architecture |
|---|---|---|---|
Debian | 12 | bookworm | amd64, arm64 ARM64/aarch64 architectures are in tech preview. |
Debian | 13 | trixie | amd64, arm64 |
Fedora We support the most recent stable Fedora releases. Fedora release cadence information. | - | - | Recent stable releases |
Red Hat Enterprise Linux | 8 | - | aarch64, ppc64le, s390x, x86_64 These aren't fully supported; they are only available via the Fedora Copr repositories. Consider them tech-preview. |
Red Hat Enterprise Linux | 9 | - | aarch64, ppc64le, s390x, x86_64 |
Red Hat Enterprise Linux | 10 | - | aarch64, ppc64le, s390x, x86_64 |
Ubuntu | 22.04 | jammy | amd64, arm64 |
Ubuntu | 24.04 | noble | amd64, arm64 |
Ubuntu | 25.04 | plucky | amd64, arm64 |
Which setup is right for you?
I want to... | Go to... |
|---|---|
Connect my device to CloudConnexa manually or occasionally | Steps 1-3, then Option A |
Set up an always-on connection that starts automatically at boot | Steps 1-3, then Option B |
Step 1: Install the OpenVPN 3 client
Select the instructions for your Linux distribution.
Step 2: Import your connection profile
Import your
.ovpnconnection profile into the OpenVPN 3 configuration manager, replacing/file/to/profile.ovpnwith the path to your profile file:openvpn3 config-import --config /file/to/profile.ovpn --name CloudConnexa --persistent--name CloudConnexaassigns a name to the profile so you can reference it in later commands.--persistentsaves the profile to disk so it's available after a reboot. Without this flag, the profile is stored in memory only and is lost when the system restarts.
Verify the profile was imported successfully:
openvpn3 configs-listYour profile should appear in the list.
Step 3: Connect to CloudConnexa
Choose the option that fits your needs.
Step 4: Manage your VPN session
The following commands are useful for monitoring and troubleshooting a running session:
Check active sessions:
openvpn3 sessions-listRestart the connection:
openvpn3 session-manage --config CloudConnexa --restartView real-time tunnel statistics:
openvpn3 session-stats --config CloudConnexaView real-time log events:
openvpn3 log --config CloudConnexaTo disconnect a session using its D-Bus path instead of the profile name:
openvpn3 session-manage --session-path /net/openvpn/v3/sessions/..... --disconnect