farhaadn Hi, I am set up openvpn server on Mikrotik I am using the win10 openvpn client, I got this below error when there is no connectivity between client and server, but if I pinging the server from the client all time, openvpn stayes connected. Session invalidated: KEEPALIVE_TIMEOUT Client terminated, restarting in 2000 ms... here is my client config file: client dev tun proto tcp remote x.x.x.x 1194 resolv-retry infinite nobind persist-key persist-tun <ca> </ca> <cert> </cert> <key> </key> remote-cert-tls server cipher AES-128-CBC auth SHA1 auth-user-pass verb 3 route 172.16.0.0 255.255.0.0
farhaadn TinCanTech wrote You need to know your server config for Keepalive .. I set that before to 02:00:00
TinCanTech farhaadn wrote TinCanTech wrote You need to know your server config for Keepalive .. I set that before to 02:00:00 --keepalive does not take a timestamp as a parameter.
farhaadn TinCanTech wrote farhaadn wrote TinCanTech wrote You need to know your server config for Keepalive .. I set that before to 02:00:00 --keepalive does not take a timestamp as a parameter. sry, what did you say? I set it in winbox and its get time, see pic below: https://pasteboard.co/JFvMJUQ.jpg
farhaadn I read that, but I can't find Installing OpenVPN on Mikrotik and any information about Mikrotik keepalive
TinCanTech TinCanTech wrote --keepalive has two parameters: --keepalive 10 60 By the look of it, the field you indicate is not --keepalive. Check your router manual. You can also post your client log file at verb 4.