Vhat is it

A virtual private network (VPN) extends a private network across a public network and enables users to send and receive data across shared or public networks as if their computing devices were directly connected to the private network. Applications running across a VPN may therefore benefit from the functionality, security, and management of the private network. Encryption is a common, although not an inherent, part of a VPN connection.

Requirements

Sometimes the connection is lost. Gnome plugin does not reconnect after loss of connection. But this is wrong way. NetworkManager have got a vpn.persistent - no by default.

How to fix this problem

sudo nmcli connection modify myVPNConnectionName vpn.persistent yes