Page 1 of 1

ping-restart / server reboot

Posted: Sun Sep 23, 2018 7:27 pm
by fanfan_2a
Hi

I'm using openvpn with one client that is configured like this:

client
dev tun
proto udp
remote nameserver.com 3170
resolv-retry infinite
nobind
user nobody
group nogroup
persist-key
persist-tun
remote-cert-tls server
comp-lzo
verb 3
ping-restart 120

it works fine but sometimes, if the server gets unavailable for few minutes, the client doesn't reconnect itself

I've seen many scripts that can check connectivity but I thought "ping-restart" could handle this by checking every 120 sec and restart connexion automatically?

Thanks
Bye

Re: ping-restart / server reboot

Posted: Sun Sep 23, 2018 7:30 pm
by TinCanTech