For Debian 9, 10, Ubuntu 18, 20:
For Debian 11
Additional packages for Debian 11 bullseye
https://packages.debian.org/buster/libjsoncpp1
https://packages.debian.org/buster/libjsoncpp-dev
Than replace $DISTRO with the release name "buster"
Import configfile
openvpn3 config-import --config Path/client.ovpn
Start a new VPN session
openvpn3 session-start --config Path/client.ovpn
Enter Auth User name:
Enter Auth Password:
Close VPN session
openvpn3 session-manage --disconnect --config Path/client.ovpn
Connection statistics
openvpn3 session-stats --config Path/client.ovpn
List all available configuration profiles
openvpn3 sessions-list
Show the routing tables.
netstat -rn