LinuxCommandLibrary

openvpn3

next-generation OpenVPN client for Linux, providing a D-Bus based architecture

TLDR

Start a new VPN session

$ openvpn3 session-start -c [path/to/config.conf]
copy
List established sessions
$ openvpn3 sessions-list
copy
Disconnect the currently established session
$ openvpn3 session-manage -c [path/to/config.conf] -D
copy
Import VPN configuration
$ openvpn3 config-import -c [path/to/config.conf]
copy
List imported configurations
$ openvpn3 configs-list
copy

SYNOPSIS

openvpn3 command [options]

DESCRIPTION

openvpn3 is the next-generation OpenVPN client for Linux, providing a D-Bus based architecture that allows non-root users to manage VPN connections. It separates the VPN configuration management from the session management, enabling better integration with desktop environments and system services.
The client supports importing and storing configurations persistently, managing multiple simultaneous VPN sessions, and provides granular access control through D-Bus policies. It is designed to integrate with NetworkManager and other Linux desktop components.

PARAMETERS

session-start -c config

Start a new VPN session using the specified configuration
session-manage -c config -D
Manage (disconnect) an active session
sessions-list
List all active VPN sessions
config-import -c config
Import a VPN configuration file into the configuration manager
configs-list
List all imported configurations
config-manage -c config
Manage imported configurations (rename, remove)
config-show -c config
Display configuration details
log -c config
Show session log output
-c, --config path
Path to OpenVPN configuration file
-D, --disconnect
Disconnect the session
-R, --restart
Restart the session
-P, --pause
Pause the session
--resume
Resume a paused session

CAVEATS

Requires the openvpn3-linux package and associated D-Bus services. Not all OpenVPN 2.x configuration directives are supported. Configuration import stores credentials in the configuration manager; review access policies for sensitive environments.

HISTORY

Developed by OpenVPN Inc. as a modernized Linux client using the OpenVPN 3 Core library. Released to address limitations of the traditional OpenVPN 2.x client, particularly around privilege separation and desktop integration. The D-Bus architecture was introduced to allow unprivileged VPN management.

SEE ALSO

openvpn(8), nmcli(1), networkctl(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community