Always on for Centos client machines
Posted: Mon Jul 15, 2013 7:39 pm
Hello everyone,
I've setup OpenVPN on my linux server and i'm able to connect to it perfectly. However, my remote machines- sometimes lose connection while out in the field. Does anyone know a way that I can set the connection to restart once it is dropped? I'm trying to achieve an always-on scenario.
I guess I could write a script to check if pinging is successful, then attempt to kill the process and restart it. But not sure if this the best or most efficient way of doing it.
I'm not the advanced expert, so show me some mercy.
Thanks,
Daniel
I've setup OpenVPN on my linux server and i'm able to connect to it perfectly. However, my remote machines- sometimes lose connection while out in the field. Does anyone know a way that I can set the connection to restart once it is dropped? I'm trying to achieve an always-on scenario.
I guess I could write a script to check if pinging is successful, then attempt to kill the process and restart it. But not sure if this the best or most efficient way of doing it.
I'm not the advanced expert, so show me some mercy.

Thanks,
Daniel