Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Usually you only need to use the Auto-Connect Behavior under VPN settings in Network Manager.

It's well explained in the official documentation: Configuring the VPN Connection, Auto-Connect Behavior, and Availability Settings

If you have problems, there are many alternatives, also avoiding Network Manager. For example: you can create a dispatcher that will connect your VPN and start it like a service with Systemd.