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:

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⁠

  1. Import your .ovpn connection profile into the OpenVPN 3 configuration manager, replacing /file/to/profile.ovpn with the path to your profile file:

    openvpn3 config-import --config /file/to/profile.ovpn --name CloudConnexa --persistent
    1. --name CloudConnexa assigns a name to the profile so you can reference it in later commands.

    2. --persistent saves 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.

  2. Verify the profile was imported successfully:

    openvpn3 configs-list
    • Your 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-list
  • Restart the connection:

    openvpn3 session-manage --config CloudConnexa --restart
  • View real-time tunnel statistics:

    openvpn3 session-stats --config CloudConnexa
  • View real-time log events:

    openvpn3 log --config CloudConnexa
  • To disconnect a session using its D-Bus path instead of the profile name:

    openvpn3 session-manage --session-path /net/openvpn/v3/sessions/..... --disconnect