![Forrest logo](/images/logo.png)
openvpn3:tldr:64625
openvpn3: Disconnect the currently established session started with given configuration.
$ openvpn3 session-manage --config ${path-to-config-conf} --disconnect
try on your machine
The command openvpn3 session-manage --config ${path-to-config-conf} --disconnect
is used to manage OpenVPN sessions and specifically to disconnect a session based on a given configuration file.
Here is the breakdown of the command:
openvpn3
: It is the command-line interface (CLI) tool for managing OpenVPN sessions in version 3.session-manage
: It is a subcommand used to manage sessions.--config ${path-to-config-conf}
: This option specifies the path to the OpenVPN configuration file (*.conf) that contains the session settings.${path-to-config-conf}
should be replaced with the actual path to the configuration file.--disconnect
: This option requests to disconnect a session that matches the provided configuration file. It tells the OpenVPN session manager to terminate the VPN connection associated with the configuration.
In summary, the command instructs the OpenVPN session manager to use the specified configuration file and disconnect a corresponding session.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.