Auto connect VPN
automatically connect to VPN when connected to WiFi.
- Open Network Manager from terminal:
nm-connection-editor
- Select network > Edit > General > Automatically connect to VPN when using this connection
- Select the VPN from the dropdown