← 返回命令列表

Linux command

openvpn3 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Start

openvpn3 session-start -c [path/to/config.conf]

List

openvpn3 sessions-list

Disconnect

openvpn3 session-manage -c [path/to/config.conf] -D

Import

openvpn3 config-import -c [path/to/config.conf]

List

openvpn3 configs-list

说明

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.

参数

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

FAQ

What is the openvpn3 command used for?

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.

How do I run a basic openvpn3 example?

Run `openvpn3 session-start -c [path/to/config.conf]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does session-start -c _config_ do in openvpn3?

Start a new VPN session using the specified configuration