{"id":130,"date":"2015-04-16T02:41:21","date_gmt":"2015-04-16T02:41:21","guid":{"rendered":"https:\/\/wp.local\/?p=130"},"modified":"2016-06-17T05:22:38","modified_gmt":"2016-06-17T05:22:38","slug":"windows-error-809-when-using-vpn","status":"publish","type":"post","link":"https:\/\/blog.c-devtech.net\/?p=130","title":{"rendered":"Windows Error 809 when using VPN"},"content":{"rendered":"<p>I&#8217;ve set up a VPN\u00a0 Server on a Windows Server 2012r2 which I usually access from my iPhone or Macbook pro. Once the correct ports are forwarded it was pretty simple and always worked. I recently tried to connect from my Windows 7 machine and my Windows 10 machine both without success.<\/p>\n<p>The Windows 7 error was:<\/p>\n<blockquote><p>809: The network connection between your computer and the VPN server could not be established because the remote server is not responding&#8230;<\/p><\/blockquote>\n<p>and the Windows 10 error was:<\/p>\n<blockquote><p>File Metadata optimization is already in progress.<\/p><\/blockquote>\n<p>For this test\u00a0 my server was behind a NAT but the clients were not. Since neither the iOS or MacOS systems were behind a NAT, I felt that the network configuration of the server was not contributing to the error.\u00a0 Nevertheless, I searched for\u00a0 &#8216;errors&#8217; &#8216;nat&#8217; &#8216;vpn&#8217; and I got a hit for at <a title=\"Client behind NAT devices\" href=\"https:\/\/documentation.meraki.com\/MX-Z\/Client_VPN\/Troubleshooting_Client_VPN\" target=\"_blank\">Client behind NAT devices<\/a>.<\/p>\n<p>I made the following registry change specified in the post for both the Windows 7 and Windows 10 client machines:<\/p>\n<p>HKLM\\SYSTEM\\CurrentControlSet\\Services\\PolicyAgent<br \/>\nRegValue:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 AssumeUDPEncapsulationContextOnSendRule<br \/>\nType:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 DWORD<br \/>\nData Value:\u00a0\u00a0\u00a0 2<\/p>\n<p>Then rebooted each system and they both now connect to the VPN server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve set up a VPN\u00a0 Server on a Windows Server 2012r2 which I usually access from my iPhone or Macbook pro. Once the correct ports are forwarded it was pretty simple and always worked. I recently tried to connect from &hellip; <a href=\"https:\/\/blog.c-devtech.net\/?p=130\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[4],"tags":[],"class_list":["post-130","post","type-post","status-publish","format-standard","hentry","category-windows-server-2012r2"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p1IEK3-26","jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blog.c-devtech.net\/index.php?rest_route=\/wp\/v2\/posts\/130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.c-devtech.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.c-devtech.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.c-devtech.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.c-devtech.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=130"}],"version-history":[{"count":2,"href":"https:\/\/blog.c-devtech.net\/index.php?rest_route=\/wp\/v2\/posts\/130\/revisions"}],"predecessor-version":[{"id":132,"href":"https:\/\/blog.c-devtech.net\/index.php?rest_route=\/wp\/v2\/posts\/130\/revisions\/132"}],"wp:attachment":[{"href":"https:\/\/blog.c-devtech.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.c-devtech.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.c-devtech.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}