Running OpenVPN connection as a service
How to
Download the
.ovpn
file.Copy
.ovpn
file into directory/etc/openvpn/client
Rename
.ovpn
file to suitable.conf
naming. Example:client01.ovpn
→client01.conf
Run the VPN config
Start the service
systemctl start openvpn-client@client01
Check for Status
systemctl status openvpn-client@client01.conf
Stop the service"
systemctl stop openvpn-client@client01.conf
Enable start on boot
systemctl enable openvpn-client@client01.conf
Last updated
Was this helpful?