Azure S2S VPN Troubleshooting Script


First, in my experience most (aka all) problems with site-to-site VPN has been caused by a misconfiguration on the customer side of the VPN. One item that may help you is to use WFP logs on the Azure gateway VM which can be enabled via the Microsoft Azure Virtual Network Troubleshooter package which is available from:

Second, until fairly recently, the only options for diagnosing VPN connection problems were to either troubleshoot via logs from the on-premises VPN gateway, or open an Azure support ticket for assistance with troubleshooting from the Azure side of this VPN tunnel. With the latest Azure PowerShell module, you also have the ability to directly troubleshoot VPN connections from Azure with three PowerShell cmdlets:

  • Start-AzureVNetGatewayDiagnostics,
  • Stop-AzureVnetGatewayDiagnostics, and
  • Get-AzureVNetGatewayDiagnostics

Downloadable Script

Third, grab this script for troubleshooting Virtual Networks in Azure from the TechNet Script Center that helps to leverage some of the new cmdlets.

Download Azure Virtual Network Gateway Diagnostics Script

This entry was posted in Microsoft and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s