A VPN provider gives .ovpn files that contain the configuration necessary to connect to a VPN server using the command :
However using this command isn't very clean since it uses a shell that you can't close anymore if you want to keep the connection. Instead I'd like to be controlling the openvpn connection through systemd but it is my understanding that I first need to create a
name.conf file in
/etc/openvpn so I can then call the command
systemctl enable firstname.lastname@example.org which would be handy since it would connect to the VPN server at startup.
How to go from the .ovpn config file to