NordVPN AUTH_FAILED when using --auth-user-pass (email as user)
Posted: Fri May 24, 2019 10:36 am
Hi guys, I'm getting an AUTH_FAILED when using --auth-user-pass and the user has is an email, I tried to use an escape character but problem persists, any suggestion?
PS: User and password are correct and work when typing them down, only when calling the --auth-user-pass this happens.
Thank's in advance.
openvpn --config "/etc/openvpn/ovpn_udp/beXX.nordvpn.com.udp.ovpn" --auth-user-pass /etc/openvpn/auth.txt
Fri May 24 10:30:36 2019 WARNING: file '/etc/openvpn/auth.txt' is group or others accessible
Fri May 24 10:30:36 2019 OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 5 2018
Fri May 24 10:30:36 2019 library versions: OpenSSL 1.1.0g 2 Nov 2017, LZO 2.08
Fri May 24 10:30:36 2019 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Fri May 24 10:30:36 2019 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Fri May 24 10:30:36 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]185.xxx.xxx.xxx:1194
Fri May 24 10:30:36 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
Fri May 24 10:30:36 2019 UDP link local: (not bound)
Fri May 24 10:30:36 2019 UDP link remote: [AF_INET]185.xxx.xxx.xxx:1194
Fri May 24 10:30:36 2019 TLS: Initial packet from [AF_INET]185.xxx.xxx.xxx:1194, sid=4a78dd16 c4beb377
Fri May 24 10:30:36 2019 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Fri May 24 10:30:36 2019 VERIFY OK: depth=2, C=PA, O=NordVPN, CN=NordVPN Root CA
Fri May 24 10:30:36 2019 VERIFY OK: depth=1, C=PA, O=NordVPN, CN=NordVPN CA3
Fri May 24 10:30:36 2019 VERIFY KU OK
Fri May 24 10:30:36 2019 Validating certificate extended key usage
Fri May 24 10:30:36 2019 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Fri May 24 10:30:36 2019 VERIFY EKU OK
Fri May 24 10:30:36 2019 VERIFY OK: depth=0, CN=beXX.nordvpn.com
Fri May 24 10:30:39 2019 Control Channel: TLSv1.2, cipher TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
Fri May 24 10:30:39 2019 [beXX.nordvpn.com] Peer Connection Initiated with [AF_INET]185.xxx.xxx.xxx:1194
Fri May 24 10:30:40 2019 SENT CONTROL [beXX.nordvpn.com]: 'PUSH_REQUEST' (status=1)
Fri May 24 10:30:40 2019 AUTH: Received control message: AUTH_FAILED
Fri May 24 10:30:40 2019 SIGTERM[soft,auth-failure] received, process exiting
PS: User and password are correct and work when typing them down, only when calling the --auth-user-pass this happens.
Thank's in advance.
openvpn --config "/etc/openvpn/ovpn_udp/beXX.nordvpn.com.udp.ovpn" --auth-user-pass /etc/openvpn/auth.txt
Fri May 24 10:30:36 2019 WARNING: file '/etc/openvpn/auth.txt' is group or others accessible
Fri May 24 10:30:36 2019 OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 5 2018
Fri May 24 10:30:36 2019 library versions: OpenSSL 1.1.0g 2 Nov 2017, LZO 2.08
Fri May 24 10:30:36 2019 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Fri May 24 10:30:36 2019 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Fri May 24 10:30:36 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]185.xxx.xxx.xxx:1194
Fri May 24 10:30:36 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
Fri May 24 10:30:36 2019 UDP link local: (not bound)
Fri May 24 10:30:36 2019 UDP link remote: [AF_INET]185.xxx.xxx.xxx:1194
Fri May 24 10:30:36 2019 TLS: Initial packet from [AF_INET]185.xxx.xxx.xxx:1194, sid=4a78dd16 c4beb377
Fri May 24 10:30:36 2019 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Fri May 24 10:30:36 2019 VERIFY OK: depth=2, C=PA, O=NordVPN, CN=NordVPN Root CA
Fri May 24 10:30:36 2019 VERIFY OK: depth=1, C=PA, O=NordVPN, CN=NordVPN CA3
Fri May 24 10:30:36 2019 VERIFY KU OK
Fri May 24 10:30:36 2019 Validating certificate extended key usage
Fri May 24 10:30:36 2019 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Fri May 24 10:30:36 2019 VERIFY EKU OK
Fri May 24 10:30:36 2019 VERIFY OK: depth=0, CN=beXX.nordvpn.com
Fri May 24 10:30:39 2019 Control Channel: TLSv1.2, cipher TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
Fri May 24 10:30:39 2019 [beXX.nordvpn.com] Peer Connection Initiated with [AF_INET]185.xxx.xxx.xxx:1194
Fri May 24 10:30:40 2019 SENT CONTROL [beXX.nordvpn.com]: 'PUSH_REQUEST' (status=1)
Fri May 24 10:30:40 2019 AUTH: Received control message: AUTH_FAILED
Fri May 24 10:30:40 2019 SIGTERM[soft,auth-failure] received, process exiting