L2TP连接尝试失败,因为安全层在初始化与远程计算机的协商时遇到一个处理错误
The L2TP connection attempt failed because the security layer encountered a processing error during the initial negotiations with the remote computer.
解决步骤:
1. 单击“开始”,单击“运行”,键入“regedit”,然后单击“确定”
2. 找到下面的注册表子项,然后单击它:
HKEY_LOCAL_MACHINE\ System\CurrentControlSet\Services\Rasman\Parameters
3. 在“编辑”菜单上,单击“新建”->“DWORD值”
4. 在“名称”框中,键入“ProhibitIpSec”
5. 在“数值数据”框中,键入“1”,然后单击“确定”
6. 退出注册表编辑器,然后重新启动计算机
注意,更改后的L2TP没有IKEv2/IPSEC的保护,是RAW L2TP,走1701/UDP,而不是500、4500/UDP,存在安全隐患。
https://my.oschina.net/u/4363075/blog/3869690
-----------
debug Windows VPN:
1) Open an Administrative Command Prompt
2) change to a temp directory
a) cd C:\temp
3) run "netsh wfp capture start cab=off"
4) attempt to establish your VPN
5) run "netsh wfp capture stop" after the VPN fails to connect
6) Open up the resulting wfpdiag.xml file
7) Search for "<netevent>"
8) Search for the IPv4 or IPv6 address which you are attempting to connect
https://community.ui.com/questions/Windows-10-will-not-connect-to-L2TP-IPSec-VPN/be235c79-80d6-40bb-9c72-4dcc73206790
[
本帖最后由 linda 于 2020-9-9 15:23 编辑 ]