VPN Connection Issues

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
New2VPN2023
OpenVpn Newbie
Posts: 1
Joined: Tue May 09, 2023 9:45 am

VPN Connection Issues

Post by New2VPN2023 » Tue May 09, 2023 9:48 am

Hi all,

I am having trouble when setting up a new VPN connection, set up is the same as always but keep getting a auth failure, i know the username and password are correct, as i just used it ti connect to the NAS server through the PC itself, des anyone know what the issue could be?

Any help would be greatly appreciated :D


2023-05-09 10:03:26 WARNING: Compression for receiving enabled. Compression has been used in the past to break encryption. Sent packets are not compressed unless "allow-compression yes" is also set.
2023-05-09 10:03:26 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305). OpenVPN ignores --cipher for cipher negotiations.
2023-05-09 10:03:26 OpenVPN 2.6.3 [git:v2.6.3/94aad8c51043a805] Windows-MSVC [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] [DCO] built on Apr 26 2023
2023-05-09 10:03:26 Windows version 10.0 (Windows 10 or greater), amd64 executable
2023-05-09 10:03:26 library versions: OpenSSL 3.1.0 14 Mar 2023, LZO 2.10
2023-05-09 10:03:26 DCO version: v0
2023-05-09 10:03:28 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
2023-05-09 10:03:28 TCP/UDP: Preserving recently used remote address: [AF_INET]164.39.149.28:1194
2023-05-09 10:03:28 UDPv4 link local: (not bound)
2023-05-09 10:03:28 UDPv4 link remote: [AF_INET]164.39.149.28:1194
2023-05-09 10:03:28 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
2023-05-09 10:03:29 [synology.com] Peer Connection Initiated with [AF_INET]164.39.149.28:1194
2023-05-09 10:03:30 AUTH: Received control message: AUTH_FAILED
2023-05-09 10:03:30 SIGUSR1[soft,auth-failure] received, process restarting
2023-05-09 10:03:33 ERROR: could not read Auth username/password/ok/string from management interface
2023-05-09 10:03:33 Exiting due to fatal error

pmiland95
OpenVpn Newbie
Posts: 1
Joined: Thu May 11, 2023 4:29 pm

Re: VPN Connection Issues

Post by pmiland95 » Thu May 11, 2023 4:32 pm

I have same issue. I used lower version 2.5.7 and it just works fine. You can try any 2.5.x. The 2.6.x had connection issue like wrong password or invalid password even we give correct.

brx
OpenVpn Newbie
Posts: 1
Joined: Mon May 22, 2023 11:53 am

Re: VPN Connection Issues errors Netgear R6700AX Bad client script?

Post by brx » Mon May 22, 2023 11:57 am

VPN connection errors Netgear R6700AX Bad client script?

Hello:

OpenVPN Connection (client) error messages, even after reboot and uninstall and reinstall of software and the 4 configuration file items. I have not successfully connected to VPN at any time. Tap-Windows Adapter V9 name changed to NETGEAR-VPN (all caps) as instructed. I tried rolling back to v2.5.9 and v2.5.4, without success. Is there an issue with the client script? Details below and any assistance appreciated.

Thx in advance.

OpenVPN GIU 11.31.0.0/2.5.9 (not latest version in case of bugs, before reboot, newest version was used)

Mon May 22 05:36:57 2023 WARNING: Compression for receiving enabled. Compression has been used in the past to break encryption. Sent packets are not compressed unless "allow-compression yes" is also set.
Mon May 22 05:36:57 2023 DEPRECATED OPTION: --cipher set to 'AES-128-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-128-CBC' to --data-ciphers or change --cipher 'AES-128-CBC' to --data-ciphers-fallback 'AES-128-CBC' to silence this warning.

VPN Client
VPN Client Settings - enables you to connect to a VPN server to anonymize your Internet traffic for added privacy
Status:Disconnected

VPN Settings
Authentication fail, incorrect username or password!

Client.ovpn file in notepad, edited:

client
dev tap
proto udp
dev-node NETGEAR-VPN
remote (my info-letters).mynetgear.com 1(three numbers)4
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
remote-cert-tls server
auth-nocache
cipher AES-128-CBC
comp-lzo
verb 0
sndbuf 393216
rcvbuf 393216


Based on this post at openvpn, I uninstalled v2.5.9 and installed older v2.5.4.

Copied and pasted over config files both under C users... and C program files ....

FWIW, I have Verizon 5G Home Internet and the connection speeds via ethernet to a 5 year old laptop were faster than wifi directly to VZ. In the advanced setting for Netgear, I did not add settings to connect via VZ as basic connection was not the issue before trying to use NG OpenVPN. (Internet setup, Does your Internet connection require a login?, I answered no.)

Mon May 22 06:19:28 2023 Warning: cannot open --log file: C:\Program Files\OpenVPN\log\client.log: Input/output error (errno=5) (also seen on v2.5.9 log file, but forgot to paste this previously)
Mon May 22 06:19:28 2023 WARNING: Compression for receiving enabled. Compression has been used in the past to break encryption. Sent packets are not compressed unless "allow-compression yes" is also set.
Mon May 22 06:19:28 2023 DEPRECATED OPTION: --cipher set to 'AES-128-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-128-CBC' to --data-ciphers or change --cipher 'AES-128-CBC' to --data-ciphers-fallback 'AES-128-CBC' to silence this warning.

Fadim
OpenVPN User
Posts: 40
Joined: Mon May 15, 2023 12:14 pm

Re: VPN Connection Issues

Post by Fadim » Wed May 24, 2023 9:11 am

For the AUTH_FAILED error, even though your username and password are correct, it could be a problem with the server configuration not accepting the credentials. Double-check the server-side configuration.
As for the deprecation warning about the cipher option, it seems you're using an older cipher in your OpenVPN configuration. You might want to update your configuration to use the newer ciphers (like AES-256-GCM or CHACHA20-POLY1305) to avoid this warning.

Regarding the error with the log file, it might be a permission issue. You could try running the OpenVPN client as an administrator to see if that helps.

Finally, if you're still having trouble after trying these suggestions, consider posting your server-side OpenVPN configuration (with sensitive details removed), as the issue might lie there.

Good luck!

Post Reply