在 Softether 上使用原生 Windows SSTP 客户端时出现的问题

在 Softether 上使用原生 Windows SSTP 客户端时出现的问题

当尝试使用带有密码身份验证的 SSTP 时,我无法从本机 Windows 客户端创建连接。我总是收到 MS-CHAPv2 身份验证错误:

2015-01-03 03:04:43.278 On the TCP Listener (Port 443), a Client (IP address 1.2.3.4, Host name "1.2.3.4", Port number 51567) has connected.
2015-01-03 03:04:43.278 For the client (IP address: 1.2.3.4, host name: "something.be", port number: 51567), connection "CID-6" has been created.
2015-01-03 03:04:43.510 SSL communication for connection "CID-6" has been started. The encryption algorithm name is "RC4-MD5".
2015-01-03 03:04:44.194 SSTP PPP Session [1.2.3.4:51567]: A new PPP session (Upper protocol: SSTP) is started. IP Address of PPP Client: 1.2.3.4 (Hostname: "something.be"), Port Number of PPP Client: 51567, IP Address of PPP Server: 5.6.7.8, Port Number of PPP Server: 443, Client Software Name: "Microsoft SSTP VPN Client", IPv4 TCP MSS (Max Segment Size): 0 bytes
2015-01-03 03:04:45.613 On the TCP Listener (Port 0), a Client (IP address 1.2.3.4, Host name "something.be", Port number 51567) has connected.
2015-01-03 03:04:45.613 For the client (IP address: 1.2.3.4, host name: "something.be", port number: 51567), connection "CID-7" has been created.
2015-01-03 03:04:45.613 SSL communication for connection "CID-7" has been started. The encryption algorithm name is "(null)".
2015-01-03 03:04:45.613 [HUB "DEFAULT"] The connection "CID-7" (IP address: 1.2.3.4, Host name: something.be, Port number: 51567, Client name: "Microsoft SSTP VPN Client", Version: 4.12, Build: 9514) is attempting to connect to the Virtual Hub. The auth type provided is "External server authentication" and the user name is "test".
2015-01-03 03:04:45.613 [HUB "DEFAULT"] Connection "CID-7": User authentication failed. The user name that has been provided was "test".
2015-01-03 03:04:45.633 Connection "CID-7" terminated by the cause "User authentication failed." (code 9).
2015-01-03 03:04:45.633 Connection "CID-7" has been terminated.
2015-01-03 03:04:45.633 The connection with the client (IP address 1.2.3.4, Port number 51567) has been disconnected.
2015-01-03 03:04:45.915 SSTP PPP Session [1.2.3.4:51567]: "MS-CHAP v2" (Microsoft Challenge and Response Protocol Version 2.0) user authentication failed.
2015-01-03 03:04:45.915 SSTP PPP Session [1.2.3.4:51567]: A PPP protocol error occurred, or the PPP session has been disconnected.
2015-01-03 03:04:47.948 Connection "CID-6" terminated by the cause "Connection has been disconnected." (code 3).
2015-01-03 03:04:47.948 Connection "CID-6" has been terminated.
2015-01-03 03:04:47.948 The connection with the client (IP address 1.2.3.4, Port number 51567) has been disconnected.

使用 SoftEther 客户端确实可以工作,但我更喜欢原生 Windows 客户端,因为它更容易设置。我设置的身份验证类型只是本地用户/密码身份验证。安装在 Debian 上。

答案1

问题在于登录名。您不能将用户定义为“test”,而应为“test@virtual-hub”。其中,virtual-hub 是您为该特定用户配置的 hub。

相关内容