10-05-2022 09:50 AM
Hi, I'm trying to solve an issue about VPN connection, I use Windows built-in and I'm receiving error 809, what I tried:
any clue? 😄
10-05-2022 02:02 PM
Windows Error 809
If this error appears, the Event Log won't have any relevant logs, as the traffic doesn't reach the MX's WAN interface.
Possible causes and solutions:
Client behind NAT devices
Solution: Modern Windows devices do not support L2TP/IPsec connections when the Windows computer or VPN server are located behind a NAT. If the Windows VPN client fails with Error 809 when trying to establish a VPN connection to an MX located behind a NAT, add the "AssumeUDPEncapsulationContextOnSendRule" DWORD value to the Windows registry. This DWORD value allows Windows to establish security associations when both the VPN server and the Windows-based VPN client computer are behind NAT devices.
For Windows XP:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\IPSec
RegValue: AssumeUDPEncapsulationContextOnSendRule
Type: DWORD
Value data: 2
Base: Decimal
For Windows Vista, 7, 8, 10, and 2008 server:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent
RegValue: AssumeUDPEncapsulationContextOnSendRule
Type: DWORD
Value data: 2
Base: Decimal
Note: that after creating this key you will need to reboot the machine. For more information, reference this Microsoft Support knowledge base article.
Note: Some third-party network programs can also cause Windows Error 809 to occur. SmartByte is one such program known to cause this issue. Disabling the program should resolve the issue and allow the VPN to connect.
10-05-2022 08:14 PM
To make @alessandrodematos great response more readible, check out the troubleshooting web page, and make a special note of the registry entries.
https://documentation.meraki.com/MX/Client_VPN/Guided_Client_VPN_Troubleshooting#Windows_Error_809
05-08-2024 12:10 PM
It has been erased!
10-06-2022 01:33 AM
I did that before post here
10-16-2024 11:26 AM
I deployed a vMX in Google Cloud and ran into this same issue:
Technically, the vMX is not natted. It is setup as a one-armed concentrator, so the one NIC has a public and private IP address. This is enough to confuse Windows though!
So I put the registry key in, and that solved our problem!
Thank you @alessandrodematos
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide