Muruniiduk
Hello
I have OpenVPN server (v2.4.9) set up in an ASUS RT-AX56U router with v384.18 Merlin firmware and I have configured 6 devices as clients. Most of these clients are connected to the Internet through different networks (some more stable than others).
The issue I have is that after I upload the client configuration to these devices HALF of them disconnect after some time and wont reconnect. In order to bring the connection back online I would need to either restart the devices or delete the configuration inside the device and reupload it. Seems to me that both of these actions restart the OVPN services. I'm guessing that the connection to the server fails due to unstable Internet connection, but I've come to understand that the VPN should still reconnect automatically when it gets the chance, right?
So the question is, why doesn't it?
I have beginner knowledge about VPNs, could you please advise me how best to deal with this situation?
The configuration looks something like this:
client
dev tun
proto udp
remote xx.xx.xx 1194
float
ncp-ciphers xxx
cipher xxx
auth SHA1
comp-lzo adaptive
keepalive 15 60
remote-cert-tls server
I checked the server log and this is the last message where one of the disconnected clients is mentioned:
Jan 18 16:01:48 ovpn-server1[1975]: client/192.168.xx.xx:5574 [client] Inactivity timeout (--ping-restart), restarting
Jan 18 16:01:48 ovpn-server1[1975]: client/192.168.xx.xx:5574 SIGUSR1[soft,ping-restart] received, client-instance restarting
Unfortunately I can't provide a client log right now because the devices are inaccesible for me at this time (hence why I would like this VPN to work 😃 )
Hope y'all can help.