Jan 22, 2013

openSUSE Forums: How do you restart OpenVPN service when internet connection drops?

openSUSE Forums
openSUSE Forums
How do you restart OpenVPN service when internet connection drops?
Jan 23rd 2013, 04:49

I have an OpenSUSE server that I want to always be using a VPN. I have openvpn running as a service in /etc/init.d/openvpn. It is setup to run at boot and everything works properly. My issue arrises when I lose network connectivity for a bit or when a network cable is unplugged. After this the network is just down. If I restart OpenVPN everything works properly.

I've tried adding '/etc/init.d/openvpn restart' to the end of '/etc/init.d/network'. However this doesn't seem to work properly.

What is the best way to restart OpenVPN if the network connectivity drops and is regained? Or am I approaching this all wrong?

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

No comments: