ping-restart / server reboot

Use this forum to share your VPN or network disasters. Show diagrams, traffic graphs, or whatever else you need (a video of you letting the 'smoke' out of our network gear).

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
fanfan_2a
OpenVpn Newbie
Posts: 5
Joined: Sun Sep 23, 2018 7:03 pm

ping-restart / server reboot

Post by fanfan_2a » Sun Sep 23, 2018 7:27 pm

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

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: ping-restart / server reboot

Post by TinCanTech » Sun Sep 23, 2018 7:30 pm


Post Reply