Auto connect VPN

automatically connect to VPN when connected to WiFi.

  1. Open Network Manager from terminal: nm-connection-editor
  2. Select network > Edit > General > Automatically connect to VPN when using this connection
  3. Select the VPN from the dropdown

References