OpenVPN doesn't auto connect after suspend mode

I am running #OpenVPN client on #Linux Mint. The connection never restore it self after coming out of sleep. I do however have it set up to run after booting.

Online search offered a solution to check “Specify exit or restarting ping: ping exit 30” in the advanced options of the Network Manger, but it still doesn’t work… I have to turn it on myself.

Would anyone explain the problem and offer a solution? Thank you!

I have not tried it personally, but it’s said that there is a specific command you can add to the OpenVPN configuration at:

sudo nano /etc/openvpn/login.conf

And then add the following three lines at the end:

persist-tun
persist-key
keepalive 2 10

Please let me know if that helps. :slight_smile:

@vasileios, thank you for trying but it’s a no go… I think I will just run it through the OpenVPN3 client from the terminal instead of using the Network Manager and see if that works better.