GNOME Bugzilla – Bug 680955
NetworkManager won't reconnect VPN after suspend, causing apps to connect through unsecure network
Last modified: 2014-10-28 23:21:53 UTC
When connecting to the somewhat hostile conference Wifi, I always use a VPN tunnel (openvpn) set up through NetworkManager. Currently, if I suspend the machine, by closing the lid, it will drop the Wifi and VPN connections. If I resume the computer, by opening the lid and working again, it will reconnect to the _WIFI_ only, but not the VPN. In a situation where you had WIFI + VPN setup previously, and reconnect to the _same_ wifi afterwards, The network should not be considered "Ready" until the VPN is re-established. The problem comes from applications such as Empathy, Epiphany and Firefox which are sending out information across the hostile network.
*** Bug 680956 has been marked as a duplicate of this bug. ***
*** Bug 680957 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 560471 ***
Unduplicating and changing summary. Marking major as this can be viewed as a security issue that the user has no chance to prevent during wake up.
Tightly related to bug 349151.
One way to fix this with NM 0.9.8 is the new "secondary connection" support,where you can specify a VPN connection that should be started when your wifi connection (or any connection) is started. If the VPN fails, then the entire connection will also fail. This should fix the issue for your case, though it's not a blanket fix for always bringing up the VPN connection that was connected when we suspended.
NM bugzilla reorganization... sorry for the bug spam.
Moving this to 1.0 target to discuss whether anything needs to be done in addition to the "secondary connection" functionality that NM already has.
Duping to bug 349151 because that contains the fixes for this too. *** This bug has been marked as a duplicate of bug 349151 ***