Auto reconnect solution on ubuntu machine

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
OpenVpn Newbie
Posts: 1
Joined: Mon Mar 01, 2021 2:23 pm

Auto reconnect solution on ubuntu machine

Post by pieter.goossens » Mon Mar 01, 2021 2:30 pm


With our companie we are monitoring machines in India over an openvpn connection. But since the internet connection in India sometimes are a bit unreliable sometimes the vpn goes offline. We would like to configure the connection so that if the internet connection comes back up the vpn auto reconnects.

What we have done:
We have set the vpn.persistent option for the connection to true.
And in the np-connection-editor we have set the auto connect to vpn option for the ethernet connection.

Still this does not seem to work very reliable.

Any help is welcome.
Thank you.

User avatar
OpenVPN Protagonist
Posts: 8983
Joined: Fri Jun 03, 2016 1:17 pm

Re: Auto reconnect solution on ubuntu machine

Post by TinCanTech » Mon Mar 01, 2021 2:38 pm

What version of OpenVPN is that ?

Post Reply