Posts

Showing posts from December, 2018

Azure Point to Site VPN failure with error code 809

I ran into some trouble today troubleshooting a developer's workstation. The issue was when using a Point to Site IKEV2 VPN some clients could not connect - they received an error: The network connection between your computer and the VPN server could not be established because the remote server is not responding. This could be because one of the network devices (e.g, firewalls, NAT, routers, etc) between your computer and the remote server is not configured to allow VPN connections. Please contact your Administrator or your service provider to determine which device may be causing the problem. (Error 809) The strange thing was that some other workstations seemed fine. After bashing our collective heads against the wall, checking checking the P2SChild, doing all sorts of network troubleshooting to the endpoint DNS name -  azuregateway-8fc2c9e3-26cd-432a-ae47-92b7f6422a5d-e1a7e8cec41d.vpn.azure.com , editing registry, checking firewalls, etc, we finally determine...

Tip 0004: Handy Cheatsheats

Here are some handy cheat-sheets to reference for Powershell, Git, ETC. https://github.com/PrateekKumarSingh/CheatSheets Here is a great list of network cheat-sheets. http://packetlife.net/library/cheat-sheets/

Tip 0003: ASP page to emulate server response codes

This is a handy page to emulate a response code on the server. This is useful for testing your custom error pages, either from IIS or Cloudflare. https://gist.github.com/blarsonrp/fa373cd9a562d91d9a42419a34a24a7a < html > <% @ Page Language = " C# " AutoEventWireup = " true " %> < script runat = " server " > protected override void OnLoad (EventArgs e) { base . OnLoad (e); this . Response . StatusCode = 418 ; Response . TrySkipIisCustomErrors = true ; } </ script > </ html >