| OPENVPN3-SYSTEMD(8) | OpenVPN 3 Linux | OPENVPN3-SYSTEMD(8) |
openvpn3-systemd - OpenVPN 3 Linux - systemd service integration
openvpn3-systemd [OPTIONS] CONFIG_PROFILE openvpn3-systemd -h | --help
This is a helper script used by the openvpn3-session@.service unit file, which is responsible for running a single VPN session and retrieve log events and related signals to the session. These signals are also used to update systemd with the appropriate status.
Using the openvpn3-session@.service requires the VPN configuration profile to be imported in advance, using openvpn3 config-import, preferably as a persistent configuration to allow starting VPN sessions during boot.
First a configuration profile is imported as a persistent profile:
# openvpn3 config-import --persistent --name example --config client.ovpn
Start a VPN session via systemctl(1):
# systemctl start openvpn3-session@example
Check the logs for this session:
# journalctl --since today --unit openvpn3-session@example
Currently the openvpn3-systemd helper does not support configuration profiles requiring any type of user authentication outside of X.509 certificates.
openvpn3-config-import(1) openvpn3-config-acl(1) openvpn3-linux(7)