Azure VPN Gateway provides managed VPN termination for an Azure virtual network. Site-to-site connections carry encrypted traffic between Azure and an on-premises or other remote network over the public internet. Point-to-site connections let individual computers access private Azure resources through a VPN client. VNet-to-VNet connections provide encrypted connectivity between Azure virtual networks, including networks in different regions or subscriptions, over the Microsoft network.
Deploy the gateway into a dedicated subnet named GatewaySubnet. Reserve sufficient address space for the selected deployment and future changes; a /27 or larger subnet is generally recommended. Do not deploy application resources into this subnet. For a site-to-site connection, create a local network gateway resource describing the remote VPN device's public IP address or FQDN and its network prefixes, then create a connection resource linking it to the Azure gateway. Configure matching authentication and IPsec/IKE settings on the remote device.
Choose a route-based gateway for modern deployments that require capabilities such as BGP, active-active operation, or point-to-site connectivity. BGP exchanges network routes dynamically and helps support redundant connections and changing branch prefixes. Static address prefixes remain suitable for simpler deployments. Plan nonoverlapping address ranges across Azure, remote networks, and VPN client pools. Where supported, gateway NAT rules can translate overlapping site-to-site address spaces, but they require explicit routing and translation design.
Gateway sizing depends on aggregate throughput, tunnel count, concurrent remote users, protocol selection, and feature requirements. All connections on a gateway share its available bandwidth. Published throughput figures are not guaranteed application performance: internet conditions, packet sizes, encryption settings, and the remote VPN device also affect results. Test representative traffic before selecting a production SKU.
For resilience, use an appropriate availability-zone deployment and consider active-active mode. Active-active gateways expose two public IP addresses; configure the remote network to establish tunnels to both instances. Redundant on-premises devices and independent internet connections address failures outside Azure. Validate route convergence and failover behavior rather than assuming that an established secondary tunnel provides adequate recovery.
Point-to-site deployments require compatible client protocols, authentication, address pools, routing, and DNS configuration. Microsoft Entra ID authentication uses OpenVPN with Azure VPN Client. Certificate and RADIUS authentication provide other options depending on protocol and client support. Group-based client address pools can support differentiated network policies, but pool assignment does not itself enforce access restrictions.
Supported production gateway SKUs using Standard public IP addresses can carry IPv4 and IPv6 inner traffic in dual-stack configurations. For operations, collect gateway diagnostics and tunnel metrics, alert on connectivity changes, and test DNS resolution and application reachability in both directions. VPN encryption protects traffic in transit; authorization, traffic inspection, and workload security remain separate design responsibilities.