SUMMARY STEPS TO REPRODUCE 1. connect to VPN 2. suspend 3. Wait (not sure how long, but long enough) 4. Resume 5. Connection to VPN is lost. (I've noticed that if you resume immediately, the VPN connection resumes - not sure if this is a pattern or a fluke) This bug also causes insurmountable problems with KDE Connect, which craps out if the network interface changes while it's not running.Bug #410316 Operating System: Kubuntu 19.04 KDE Plasma Version: 5.15.4 KDE Frameworks Version: 5.56.0 Qt Version: 5.12.2 Kernel Version: 5.0.0-21-generic OS Type: 64-bit Processors: 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz
You would need to configure your VPN connection to be automatically connected, which can be only be tied to a specific connection so you need to go to the connection which you e.g. use at work and set that once the connection is activated, then NetworkManager should connect automatically to the desired VPN.
Shouldn't it automatically reconnect on wake, by default? When you resume from sleep, you expect everything that was running to continue running. Wifi reconnects automatically, so VPN should be the same. It may also contribute to a nasty bug that makes KDE Connect unusable. I urge you to change the default. This behavior just doesn't make sense.
Bulk transfer as requested in T17796