首页 > 技术文章 > 【Win】使用L2TP出现809错误

vijayfly 2017-06-12 17:17 原文

1.环境:win7/10

2.解决:

a.修改注册表(新建一个文本文件,复制以下内容,保存后文件扩展名改为.reg,双击运行文件。)

Windows Registry Editor Version 5.00

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

b.启动相关服务(Win+R打开“运行”对话框,输入services.msc,打开“服务"(或者在控制面板里搜索“服务”,查看本地服务))

将一下几个服务设为自动:

IPsec Policy Agent
Routing and Remote Access
Remote Access Auto Connection Manager
Remote Access Connection Manager
Secure Socket Tunneling Protocol Service

参考(转自)有改动:http://blog.csdn.net/joanna_yan/article/details/50084945

推荐阅读