Page 1 of 1

Authentication failed with OpenVPN client on Windows

Posted: Fri Jun 01, 2018 8:40 pm
by milpool
I can't get the OpenVPN Connect client on Windows 10 to connect to SoftEther VPN server (also running on Windows 10) and getting "Authentication failed". The OpenVPN clients on both macOS and iOS can connect. I'm using the default OpenVPN remote access ovpn config file. Here is the SoftEther server log:

2018-06-01 13:12:02.270 OpenVPN Session 17 (x.x.x.x:65340 -> x.x.x.x:1194): A new session is created. Protocol: UDP
2018-06-01 13:12:02.270 OpenVPN Session 17 (x.x.x.x:65340 -> x.x.x.x:1194) Channel 0: A new channel is created.
2018-06-01 13:12:02.306 OpenVPN Session 17 (x.x.x.x:65340 -> x.x.x.x:1194) Channel 0: Option Strings Received: "V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client"
2018-06-01 13:12:02.306 OpenVPN Session 17 (x.x.x.x:65340 -> x.x.x.x:1194) Channel 0: Option Strings to Send: "V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server"
2018-06-01 13:12:02.306 On the TCP Listener (Port 0), a Client (IP address x.x.x.x, Host name "x-x-x-x.static-ip.blahblah.net", Port number 65340) has connected.
2018-06-01 13:12:02.306 For the client (IP address: x.x.x.x, host name: "x-x-x-x.static-ip.blahblah.net", port number: 65340), connection "CID-59-9114446F88" has been created.
2018-06-01 13:12:02.306 SSL communication for connection "CID-59-9114446F88" has been started. The encryption algorithm name is "(null)".
2018-06-01 13:12:02.314 [HUB "VPNjp"] The connection "CID-59-9114446F88" (IP address: x.x.x.x, Host name: x-x-x-x.static-ip.blahblah.net, Port number: 65340, Client name: "OpenVPN Client", Version: 4.27, Build: 9666) is attempting to connect to the Virtual Hub. The auth type provided is "External server authentication" and the user name is "user".
2018-06-01 13:12:02.314 [HUB "VPNjp"] Connection "CID-59-9114446F88": User authentication failed. The user name that has been provided was "user".
2018-06-01 13:12:02.314 OpenVPN Session 17 (x.x.x.x:65340 -> x.x.x.x:1194) Channel 0: Failed to connect a channel.
2018-06-01 13:12:02.341 Connection "CID-59-9114446F88" terminated by the cause "User authentication failed." (code 9).
2018-06-01 13:12:02.341 Connection "CID-59-9114446F88" has been terminated.
2018-06-01 13:12:02.341 The connection with the client (IP address x.x.x.x, Port number 65340) has been disconnected.

Re: Authentication failed with OpenVPN client on Windows

Posted: Fri Jun 01, 2018 8:48 pm
by milpool
Ok so I just got the OpenVPN GUI for Windows to connect. I'm curious why the OpenVPN Connect Client on Windows isn't working.

Re: Authentication failed with OpenVPN client on Windows

Posted: Thu Jun 14, 2018 8:17 am
by thisjun
Could you show the log of the client?