Posted: Mon May 15, 2023 11:51 Post subject: VPN disconnecting issue
Hi,
I am having issues with my VPN disconnecting randomly. Sometimes it stays connected for weeks, other times only a few days. The status page will usually say the state is "Client: AUTH". Applying settings again on the OpenVPN page fixes the issue.
I have a WRT1900ACS V2 and is currently on build 51440.
I currently use Mullvad as my VPN, but had this same issue on another VPN provider. I have set it up according to their instructions. I also have multiple servers setup, so if one was temporarily unavailable it should connect to another.
I have had this issue across multiple builds and i have been using DD-WRT for a couple of years, if a newer build has fixed this issue i'll update.
I wrote a cron script to try and solve the issue, but that doesnt seem to work. I used
I found this somewhere, possibly on this forum.
My VPN is running on tun1, i have checked this.
Because i dont always realise immediately that the VPN has gone down (I have it route based just for my NAS) i dont get to see anything useful in the logs, unless there is somewhere else i can look.
Thanks
I apologise if this is a VPN issue, but as its been happening over multiple providers i assumed not.
See Model No. bottom of router upper-right corner only this is the only accurate way to identify model and version.
After upgrading from r51440 to r52569 verify success in the webUI upper-right hand corner see the build number.
Also during upgrade ignore that drop-down option so do not reset because you want to do that only after success.
Joined: 18 Mar 2014 Posts: 12837 Location: Netherlands
Posted: Sun May 21, 2023 6:29 Post subject:
That happens, a provider is doing maintenance, a server is too busy and you are kicked off, you have a network glitch etc.
OpenVPN by nature does not do a good job to recover (WireGuard does a bit better), that is why the OpenVPN GUI has a watchdog setting to restart the OpenVPN client (or the router if you want to).
If the watchdog is enabled and the connection is not working for more than x seconds, the watchdog will kick in.