Hi
If ISP down my internet connection then I receive :
Apr 15 05:14:35 sip openvpn[11089]: [server.does.not.exists] Inactivity timeout (--ping-restart), restarting
Apr 15 05:14:35 sip openvpn[11089]: SIGUSR1[soft,ping-restart] received, process restarting
Apr 15 05:14:37 sip openvpn[11089]: IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignmen
Apr 15 05:14:37 sip openvpn[11089]: Re-using SSL/TLS context
Apr 15 05:14:37 sip openvpn[11089]: LZO compression initialized
Apr 15 05:14:37 sip openvpn[11089]: UDPv4 link local: [undef]
Apr 15 05:14:37 sip openvpn[11089]: UDPv4 link remote: x.x.x.x:1194
Apr 15 05:15:37 sip openvpn[11089]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivit
Apr 15 05:15:37 sip openvpn[11089]: TLS Error: TLS handshake failed
Apr 15 05:15:37 sip openvpn[11089]: SIGTERM[soft,tls-error] received, process exiting
Config (client):
client
proto udp
resolv-retry 20
# connect-retry 60
# connect-retry-max 6000
keepalive 10 120
cipher AES-128-CBC
nobind
mute-replay-warnings
ns-cert-type server
comp-lzo
verb 2
persist-key
persist-tun
verb 1
tls-exit
dev tun0
cert untangle-vpn/dmitriy.crt
key untangle-vpn/dmitriy.key
ca untangle-vpn/ca.crt
remote x.x.x.x 1194
I need login and send command "servicer openvpn restart" for resolve vpn connection.
How to make so, what the openvpn will restore connection constantly?