Назад | Перейти на главную страницу

Проблемы с использованием собственного клиента Windows SSTP на Softether

При попытке использовать 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.

Проблема в имени входа. Вы не можете определить пользователя как «test», это должен быть «test @ virtual-hub». Где virtual-hub - это ваш сконфигурированный концентратор для этого конкретного пользователя.