Posted: Thu Jan 14, 2021 16:52 Post subject: Openvpn client keeps disconnecting from NordVPN
R7800 r44715 (44719) NordVPN Provider
My OpenVPN client is disconnecting pretty much on the dot every hour, over the last few days i have attempted a few commands to try and stop this from happening to no avail.
What verbosity level should see the cause of this?
or what other commands can i try?
Thanks guys
Current Additional config:
remote-random
tun-mtu-extra 32
mssfix 1450
ping-timer-rem
reneg-sec 0
pull-filter ignore "dhcp-option DNS"
pull-filter ignore "auth-token"
keepalive 10 60 _________________ Netgear R7800
Network IPV4 eth1 - Isolated Vlan eth1.3 on br1 for IoT devices (Amazon Echos, smart TV's, etc.) BT Whole Home Mesh Wi-Fi with Guest Net Isolation. OVPN Server with Paid OVPN client & Wireguard Client.
Gateway, DNSMasq, Static Leases & DHCP. Pi-Hole DNS
Joined: 18 Mar 2014 Posts: 6928 Location: Netherlands
Posted: Fri Jan 15, 2021 10:22 Post subject:
Unfortunately I do not have the magic formula for you.
Hourly disconnections are often due to the key renegotiation, which is default every 3600 sec, but you already have: reneg-sec 0
You are also keeping the conneciton alive wiht keepalive 10 60.
So the disconnections are probably triggered by Nord, wanting to divide traffic between servers, usually behind the URL there are multiple IP addresses, the remote random chooses another one when a disconnection is triggered.
If the disconnection is only briefly then nothing much you can do.
If the tunnel stays down i.e. does not reconnect then the first thing you cna try is add this to Addtitional config:
remap-usr1 SIGHUP
If that does not help use the watchdog script to restart the VPN or reboot the router
Thanks again for your help, i removed multiple servers back to a single to try and fix this issue.
I have today set verb 6 to see what is going on as i have tried a lot before posting.
it connects straight back up no issue there but just annoying.
now verb 6 is set i see:
R7800 daemon.notice openvpn[30701]: TLS: tls_process: killed expiring key _________________ Netgear R7800
Network IPV4 eth1 - Isolated Vlan eth1.3 on br1 for IoT devices (Amazon Echos, smart TV's, etc.) BT Whole Home Mesh Wi-Fi with Guest Net Isolation. OVPN Server with Paid OVPN client & Wireguard Client.
Gateway, DNSMasq, Static Leases & DHCP. Pi-Hole DNS