繁体   English   中英

azure VPN 无法在 Windows Server 2012 上运行

[英]azure VPN not working on windows server 2012

我在 azure 上创建了一个 VPN 网关,并且能够使用 Windows 10 连接到它。但是它在 Windows Server 2012 上不起作用。我收到了这个错误。

The connection was prevented because of a policy configured on your RAS/VPN server. Specifically, the authentication method used by the server to verify your username and password may not match the authentication method configured in your connection profile. Please contact the Administrator of the RAS server and notify them of this error. (Error 812)

在 Azure 中,身份验证类型是 Azure 证书。

我在网上尝试了一些解决方案,比如运行一些命令和应用一些 Windows 更新,但没有任何效果。

就像提到的评论一样,Azure VPN 网关仅支持 TLS 1.2。 要保持支持,请参阅更新以启用对 TLS1.2 的支持 以及更多详细信息: 更新以启用 TLS 1.1 和 TLS 1.2 作为 Windows 中 WinHTTP 中的默认安全协议。

此外,IKEv2 VPN 不支持 Windows 10 之前的 Windows 操作系统版本,只能使用 SSTP 或 OpenVPN® 协议。 在此处查看详细信息。

检查以上所有。 如果您仍有任何问题,可以联系 MS Azure 支持检查 Azure 端是否有任何更新。

我决定将 openvpn 用作​​ Tunel 类型,并且它起作用了。 谢谢你的帮助。

如果有人遇到同样的错误(“由于您的 RAS/VPN 服务器上配置的策略,连接被阻止.. ”),这对我来说是有帮助的:

  1. 在 Windows 中搜索“ncpa.cpl”或直接转到网络连接
  2. 右键单击您的 VPN 连接并打开属性
  3. 在“安全”选项卡中,勾选“挑战握手..”和/或“Microsoft CHAP..”旁边的复选框

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM