On stock firmware I had NordVPN configured and working "perfectly" on the router. The connection was stable, no random disconnects etc.
I decided to experiment with the Merlin 386.3 firmware so I could have router level AdBlock etc. While I'm liking it, I need help sorting out a VPN issue.
On Merlin, I am using the same VPN servers, same connection files and settings as I was using on the stock firmware, but on Merlin I can not keep a consistent connection to the VPN servers. All 5 connections drop randomly and then fail to reconnect automatically giving me this error: "Error connecting - Authentication failed." Oddly enough, if I wait a few minutes and retry them manually they all connect (eventually).
I checked out this thread with similar issue: Error Connecting, but I know my ISP is not the problem, since all things being the same, the issue did not happen on the stock firmware. In that thread, Merlin mentioned, "Just disable auth tokens, not caching". If this is the solution how and where do I do this?
Please help!
Below is an output of the sys log:
Aug 3 11:30:00 ovpn-client4[9339]: [xxxxxx.nordvpn.com] Inactivity timeout (--ping-restart), restarting
Aug 3 11:30:00 ovpn-client4[9339]: SIGUSR1[soft,ping-restart] received, process restarting
Aug 3 11:30:00 ovpn-client4[9339]: Restart pause, 5 second(s)
Aug 3 11:30:05 ovpn-client4[9339]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Aug 3 11:30:05 ovpn-client4[9339]: Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Aug 3 11:30:05 ovpn-client4[9339]: Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Aug 3 11:30:05 ovpn-client4[9339]: TCP/UDP: Preserving recently used remote address: [AF_INET]xx.xx.xxx.xx:1194
Aug 3 11:30:05 ovpn-client4[9339]: Socket Buffers: R=[524288->1048576] S=[524288->1048576]
Aug 3 11:30:05 ovpn-client4[9339]: UDP link local: (not bound)
Aug 3 11:30:05 ovpn-client4[9339]: UDP link remote: [AF_INET]xx.xx.xxx.xx:1194
Aug 3 11:30:05 ovpn-client4[9339]: TLS: Initial packet from [AF_INET]xx.xx.xxx.xx:1194, sid=661f72ec 4c69e2b9
Aug 3 11:30:05 ovpn-client4[9339]: VERIFY OK: depth=2, C=PA, O=NordVPN, CN=NordVPN Root
Aug 3 11:30:05 ovpn-client4[9339]: VERIFY OK: depth=1, C=PA, O=NordVPN, CN=NordVPN
Aug 3 11:30:05 ovpn-client4[9339]: VERIFY KU OK
Aug 3 11:30:05 ovpn-client4[9339]: Validating certificate extended key usage
Aug 3 11:30:05 ovpn-client4[9339]: ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Aug 3 11:30:05 ovpn-client4[9339]: VERIFY EKU OK
Aug 3 11:30:05 ovpn-client4[9339]: VERIFY OK: depth=0, CN=xxxxxx.nordvpn.com
Aug 3 11:30:07 ovpn-client4[9339]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1618', remote='link-mtu 1634'
Aug 3 11:30:07 ovpn-client4[9339]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
Aug 3 11:30:07 ovpn-client4[9339]: Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 4096 bit RSA, signature: RSA-SHA512
Aug 3 11:30:07 ovpn-client4[9339]: [xxxxxx.nordvpn.com] Peer Connection Initiated with [AF_INET]xx.xx.xxx.xx:1194
Aug 3 11:30:08 ovpn-client4[9339]: SENT CONTROL [xxxxxx.nordvpn.com]: 'PUSH_REQUEST' (status=1)
Aug 3 11:30:08 ovpn-client4[9339]: AUTH: Received control message: AUTH_FAILED
Aug 3 11:30:08 ovpn-client4[9339]: ovpn-route-pre-down tun14 1500 1654 10.8.1.5 255.255.255.0 init
Aug 3 11:30:08 custom_script: Running openvpn-event
Aug 3 11:30:08 ovpn-client4[9339]: Closing TUN/TAP interface
Aug 3 11:30:08 ovpn-client4[9339]: /usr/sbin/ip addr del dev tun14 10.8.1.5/24
Aug 3 11:30:08 ovpn-client4[9339]: ovpn-down 4 client tun14 1500 1654 10.8.1.5 255.255.255.0 init
Aug 3 11:30:08 ovpn-client4[9339]: SIGTERM[soft,auth-failure] received, process exiting
Here is what I have in the custom configuration:
remote-cert-tls server
remote-random
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
ping-timer-rem
reneg-sec 0
#log /tmp/vpn.log
I decided to experiment with the Merlin 386.3 firmware so I could have router level AdBlock etc. While I'm liking it, I need help sorting out a VPN issue.
On Merlin, I am using the same VPN servers, same connection files and settings as I was using on the stock firmware, but on Merlin I can not keep a consistent connection to the VPN servers. All 5 connections drop randomly and then fail to reconnect automatically giving me this error: "Error connecting - Authentication failed." Oddly enough, if I wait a few minutes and retry them manually they all connect (eventually).
I checked out this thread with similar issue: Error Connecting, but I know my ISP is not the problem, since all things being the same, the issue did not happen on the stock firmware. In that thread, Merlin mentioned, "Just disable auth tokens, not caching". If this is the solution how and where do I do this?
Please help!
Below is an output of the sys log:
Aug 3 11:30:00 ovpn-client4[9339]: [xxxxxx.nordvpn.com] Inactivity timeout (--ping-restart), restarting
Aug 3 11:30:00 ovpn-client4[9339]: SIGUSR1[soft,ping-restart] received, process restarting
Aug 3 11:30:00 ovpn-client4[9339]: Restart pause, 5 second(s)
Aug 3 11:30:05 ovpn-client4[9339]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Aug 3 11:30:05 ovpn-client4[9339]: Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Aug 3 11:30:05 ovpn-client4[9339]: Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Aug 3 11:30:05 ovpn-client4[9339]: TCP/UDP: Preserving recently used remote address: [AF_INET]xx.xx.xxx.xx:1194
Aug 3 11:30:05 ovpn-client4[9339]: Socket Buffers: R=[524288->1048576] S=[524288->1048576]
Aug 3 11:30:05 ovpn-client4[9339]: UDP link local: (not bound)
Aug 3 11:30:05 ovpn-client4[9339]: UDP link remote: [AF_INET]xx.xx.xxx.xx:1194
Aug 3 11:30:05 ovpn-client4[9339]: TLS: Initial packet from [AF_INET]xx.xx.xxx.xx:1194, sid=661f72ec 4c69e2b9
Aug 3 11:30:05 ovpn-client4[9339]: VERIFY OK: depth=2, C=PA, O=NordVPN, CN=NordVPN Root
Aug 3 11:30:05 ovpn-client4[9339]: VERIFY OK: depth=1, C=PA, O=NordVPN, CN=NordVPN
Aug 3 11:30:05 ovpn-client4[9339]: VERIFY KU OK
Aug 3 11:30:05 ovpn-client4[9339]: Validating certificate extended key usage
Aug 3 11:30:05 ovpn-client4[9339]: ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Aug 3 11:30:05 ovpn-client4[9339]: VERIFY EKU OK
Aug 3 11:30:05 ovpn-client4[9339]: VERIFY OK: depth=0, CN=xxxxxx.nordvpn.com
Aug 3 11:30:07 ovpn-client4[9339]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1618', remote='link-mtu 1634'
Aug 3 11:30:07 ovpn-client4[9339]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
Aug 3 11:30:07 ovpn-client4[9339]: Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 4096 bit RSA, signature: RSA-SHA512
Aug 3 11:30:07 ovpn-client4[9339]: [xxxxxx.nordvpn.com] Peer Connection Initiated with [AF_INET]xx.xx.xxx.xx:1194
Aug 3 11:30:08 ovpn-client4[9339]: SENT CONTROL [xxxxxx.nordvpn.com]: 'PUSH_REQUEST' (status=1)
Aug 3 11:30:08 ovpn-client4[9339]: AUTH: Received control message: AUTH_FAILED
Aug 3 11:30:08 ovpn-client4[9339]: ovpn-route-pre-down tun14 1500 1654 10.8.1.5 255.255.255.0 init
Aug 3 11:30:08 custom_script: Running openvpn-event
Aug 3 11:30:08 ovpn-client4[9339]: Closing TUN/TAP interface
Aug 3 11:30:08 ovpn-client4[9339]: /usr/sbin/ip addr del dev tun14 10.8.1.5/24
Aug 3 11:30:08 ovpn-client4[9339]: ovpn-down 4 client tun14 1500 1654 10.8.1.5 255.255.255.0 init
Aug 3 11:30:08 ovpn-client4[9339]: SIGTERM[soft,auth-failure] received, process exiting
Here is what I have in the custom configuration:
remote-cert-tls server
remote-random
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
ping-timer-rem
reneg-sec 0
#log /tmp/vpn.log