Site-to-Site VPN Connectivity with Azure Virtual WAN

This document provides a comprehensive guide to configuring and managing Site-to-Site (S2S) VPN connections within Azure Virtual WAN. Virtual WAN simplifies the management of large-scale, distributed network architectures by providing a single pane of glass for connecting your on-premises sites to Azure.

NOTE: Site-to-Site VPN connects your on-premises VPN device to Azure. It's a common method for hybrid cloud connectivity, enabling secure communication between your corporate network and your Azure resources.

Key Concepts

Prerequisites

Before you begin, ensure you have the following:

Steps to Configure Site-to-Site VPN

1. Create a Virtual WAN Hub (if not already present)

A Virtual WAN hub is the core component. If you haven't created one, navigate to your Virtual WAN resource and create a hub in the desired Azure region.

2. Create a VPN Site

Define your on-premises network and VPN device configuration:

  1. In the Azure portal, navigate to your Virtual WAN resource.
  2. Under "Site to site VPN," select "VPN sites."
  3. Click "+ Create VPN site."
  4. Provide a name for the site, select the region, and enter the Public IP address of your on-premises VPN device.
  5. Specify the address space(s) of your on-premises network that will communicate with Azure.
  6. Optionally, configure BGP settings if your on-premises device supports BGP.
Azure portal VPN site creation form
Figure 1: Creating a VPN site in Azure portal.

3. Create a Site-to-Site VPN Connection

This step establishes the tunnel between your VPN site and the Virtual WAN hub:

  1. Navigate back to your Virtual WAN resource and select "Site to site VPN."
  2. Click "+ Add connection."
  3. Select the target Virtual Hub.
  4. Provide a name for the connection.
  5. Select the previously created VPN site.
  6. Choose "IPsec" as the connection type.
  7. Enter a Pre-shared key (PSK). This key must match the one configured on your on-premises VPN device.
  8. Configure IPsec/IKE policy if needed, or use the default settings.
  9. Click "Create."
IMPORTANT: Ensure the Pre-shared Key is strong and securely communicated to your on-premises network team.

4. Configure Your On-Premises VPN Device

This is a crucial step that involves configuring your physical or virtual VPN device to establish the IPsec tunnel with Azure. The exact steps vary depending on the vendor and model of your VPN device. You will typically need to configure:

Refer to the Azure VPN device configuration documentation for specific vendor configurations:

VPN Device Configuration Documentation

Verifying the Connection

Once configured on both ends, you can verify the status of your Site-to-Site VPN connection:

Routing and Traffic Flow

Virtual WAN uses routing that enables transitive routing between different connection types (e.g., S2S VPN to VNet, VNet to VNet). Traffic originating from your on-premises site will be routed through the Virtual WAN hub to reach your Azure VNets, and vice-versa.

TIP: For detailed routing configurations and propagation, refer to the Virtual WAN routing concepts documentation.

Troubleshooting Common Issues

For more advanced troubleshooting, consult the Virtual WAN Troubleshooting Guide.

By following these steps, you can successfully establish secure and reliable Site-to-Site VPN connectivity with Azure Virtual WAN, enhancing your hybrid cloud networking capabilities.