Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have OpenVPN setup using network-manager-open-vpn-gnome, its been working for years, however the server end is experiencing internet connection issues at the moment and drops out quite regularly.

My client conf is:

remote my.server.com
ca /home/user/VPN/ca.crt
cert /home/user/VPN/user.crt
key /home/user/VPN/user.key
comp-lzo yes
dev tun
proto udp
script-security 2
user openvpn
group openvpn

Is there a way to make network-manager reconnect automatically if the VPN dies or a way to manually set up OpenVPN so that it reconnects when it dies?

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.