WIN7无法连接L2TP问题


https://www.cnblogs.com/cainiaoit/p/8580164.html

http://blog.hanlei.org/587/

 

注册表

Windows Registry Editor Version 5.00  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RasMan\Parameters]  
"ProhibitIpSec"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent]  
"AssumeUDPEncapsulationContextOnSendRule"=dword:00000002 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent]
"AssumeUDPEncapsulationContextOnSendRule"=dword:00000002

批处理

::显示名称IPsec Policy Agent
sc config "PolicyAgent" start= auto
::显示名称Routing and Remote Access
sc config "RemoteAccess" start= auto
::显示名称Remote Access Auto Connection Manager
sc config "RasAuto" start= auto
::显示名称Remote Access Connection Manager
sc config "RasMan" start= auto
::显示名称Secure Socket Tunneling Protocol Service
sc config "SstpSvc" start= auto
net start PolicyAgent
net start RemoteAccess
net start RasAuto
net start RasMan
net start SstpSvc
l2tp.reg
gpupdate /force /wait:0


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM