Azure

Azure VPN Gateway Complete Guide: SKU Selection, Site-to-Site / Point-to-Site, BGP & Active-Active

2026-05-24
NicheeLab Editorial Team

Azure VPN Gateway is an encrypted VPN service that connects a VNet to on-premises networks or another VNet over IPsec/IKE tunnels. It's easier to adopt than ExpressRoute (dedicated line), cheaper, faster to deploy, and ships with a 99.9-99.95% SLA — making it a fit for everything from small hybrid setups to mission-critical production. This article covers SKU selection, connection types, BGP, Active-Active designs, and operational best practices end to end.

The Three Connection Types

TypeTargetWhen to UseProtocol
Site-to-Site (S2S)On-prem networkProduction hybrid environmentsIKEv1 / IKEv2
Point-to-Site (P2S)Individual PCRemote work and admin access on the roadIKEv2 / OpenVPN / SSTP
VNet-to-VNetAnother Azure VNetMulti-region connectivityIPsec

In production, combining S2S (office to Azure) with P2S (remote PCs to Azure) is the standard pattern.

Choosing a SKU

SKUS2S BandwidthTunnelsMonthly CostUse Case
Basic (being retired)100 Mbps10~$70Don't use for new deployments
VpnGw1650 Mbps30~$140Dev / small scale
VpnGw21 Gbps30~$370Mid-size production
VpnGw31.25 Gbps30~$920Large-scale production
VpnGw45 Gbps100~$1,650Multi-site / high bandwidth
VpnGw510 Gbps100~$3,200Enterprise

The AZ suffix (e.g., VpnGw1AZ) adds Zone Redundancy for about 30% more cost and improves the SLA to 99.95% (vs 99.9% for non-AZ). For new production environments, VpnGw2AZ or higher is recommended.

BGP (Dynamic Routing)

Enabling BGP (Border Gateway Protocol) lets routes between on-prem and Azure exchange dynamically, eliminating static route maintenance. For production, BGP is effectively mandatory.

Configuration

  • Azure-side ASN: 65515 by default
  • On-prem ASN: pick from the Private ASN range 64512-65534 (e.g., 65010)
  • Configure the BGP Peer on the Local Network Gateway

Benefits

  • Add on-prem networks without touching Azure-side config
  • Automatic route advertisement across multi-site connections
  • Automatic path failover

BGP also requires BGP support on your on-prem VPN device. Major vendors — Cisco, Juniper, Fortinet, SonicWall, Sophos — all support it.

Active-Active High Availability

AspectActive-StandbyActive-Active
Behavior1 active + 1 standbyBoth instances active
Public IP12
Max bandwidthSKU limitSKU limit x 2
SLA99.9% (99.95% with AZ)99.95% (99.99% with AZ)
FailoverYes (with switchover time)Instant (both already running)

For mission-critical production, Active-Active is recommended. To enable it: in the Azure Portal Gateway settings, turn on "Active-active mode" and add a second Public IP. Your on-prem firewall also needs to accept two tunnels (for Cisco ASA and Fortinet FortiGate, configure ECMP routing).

Point-to-Site Configuration

Protocol Selection

ProtocolSupported OSCharacteristics
IKEv2 (Native VPN)Windows / Mac / LinuxBuilt-in OS client
OpenVPNWindows / Mac / Linux / iOS / AndroidSSL/TLS, easier to traverse firewalls
SSTPWindows onlySSL/TLS, legacy

Authentication Methods

  • Microsoft Entra ID authentication (recommended, OpenVPN only): supports Conditional Access
  • RADIUS authentication: reuse an existing RADIUS server
  • Certificate authentication: register the root certificate in Azure and install client certificates on each device

Microsoft Entra ID authentication + OpenVPN + Conditional Access is the modern best-practice combination for P2S.

Coexistence with ExpressRoute

A single VNet can host both a VPN Gateway and an ExpressRoute Gateway (coexistence configuration).

  • Both share the same GatewaySubnet (/27 is tight, /26 recommended)
  • Standard pattern: ExpressRoute primary + VPN Gateway as backup (failover)
  • Use BGP AS Path Prepending to prefer ExpressRoute and keep VPN on standby
  • Widely adopted as a cost-optimized HA design

Operational Best Practices

  1. Run production with Active-Active + BGP
  2. Zone Redundant SKUs (VpnGw1AZ-5AZ) to survive AZ failures
  3. Size GatewaySubnet as /26 (for future ExpressRoute coexistence and FastPath)
  4. Public IP must be Standard SKU (Basic doesn't support zones)
  5. Send Diagnostic Logs to Log Analytics and monitor with KQL
  6. Use Azure Monitor for VPN Gateway to watch Tunnel Health
  7. Regularly check Connection Status
  8. Customize IKE Policy (defaults are loose — harden with AES-256 + SHA-256)
  9. Rotate pre-shared keys (PSK)
  10. Keep on-prem device firmware up to date

Troubleshooting

  1. Resource Health to check Gateway status
  2. Connection Troubleshoot (Network Watcher) to diagnose tunnel state
  3. Inspect IKEDiagnosticLog in Diagnostic Logs for IKE negotiation failure details
  4. Check on-prem device logs (pinpoint Phase 1 / Phase 2 negotiation failures)
  5. Common errors: PSK mismatch, IKE version mismatch, cipher suite mismatch, MTU misconfiguration

Related Certifications

Frequently Asked Questions

What is Azure VPN Gateway?

Azure VPN Gateway is an encrypted VPN service that connects a VNet to on-premises networks or another VNet over IPsec/IKE tunnels. It supports three connection types: Site-to-Site (S2S, on-prem to Azure), Point-to-Site (P2S, individual PC to Azure), and VNet-to-VNet (between Azure VNets). It's lower cost, faster to deploy (hours), and easier to adopt than ExpressRoute (dedicated line), with a 99.9-99.95% SLA. SKUs include VpnGw1-5, VpnGw1AZ-5AZ (Zone Redundant), and Basic (being retired). Deployment requires placing the Gateway in a GatewaySubnet (/27 or larger, Azure-reserved name), plus Public IP and Local Network Gateway resources.

How do I choose the right SKU (VpnGw1-5)?

Choose based on S2S bandwidth and tunnel count: VpnGw1 (650 Mbps, 30 tunnels, ~$140/mo), VpnGw2 (1 Gbps, 30 tunnels, ~$370/mo), VpnGw3 (1.25 Gbps, 30 tunnels, ~$920/mo), VpnGw4 (5 Gbps, 100 tunnels, ~$1,650/mo), VpnGw5 (10 Gbps, 100 tunnels, ~$3,200/mo). The AZ suffix (e.g., VpnGw1AZ) adds Zone Redundancy for about 30% more cost and bumps the SLA to 99.95% (non-AZ is 99.9%). For new production workloads, VpnGw2AZ or higher is recommended. Basic SKU has too many limitations (no BGP, static routing only) and is being retired, so don't pick it for new deployments. VpnGw2 is enough for mid-size on-prem connectivity (1-3 sites, sub-1 Gbps). For multi-region global topologies, consider VpnGw4-5 or migrating to Virtual WAN.

What's the difference between Site-to-Site and Point-to-Site?

Site-to-Site (S2S) connects an entire on-prem network (by CIDR) to an Azure VNet, establishing a tunnel between your on-prem firewall/VPN appliance and Azure. It supports IKEv1/IKEv2, stays connected continuously, supports multi-site topologies, and is built for production hybrid environments. Point-to-Site (P2S) connects individual PCs (Windows, Mac, Linux) to an Azure VNet — users connect on demand via a VPN client. It supports IKEv2 (Native VPN), OpenVPN (SSL/TLS), and SSTP (Windows only), and is aimed at remote work and admin access from the road. The two are commonly combined: S2S (office to Azure) + P2S (remote PCs to Azure) is the standard production pattern.

What's the relationship between Azure Virtual Network Gateway and Azure VPN Gateway?

This is a frequent source of confusion. Virtual Network Gateway is the umbrella resource for VPN/ExpressRoute gateways in Azure — its Type property selects either VPN or ExpressRoute. A Virtual Network Gateway with VPN type is what people usually call "VPN Gateway." The underlying resource type is Microsoft.Network/virtualNetworkGateways, which is the same in both Bicep and ARM templates. Key points to avoid mixing up: a single VNet can host both a VPN Gateway and an ExpressRoute Gateway (coexistence), but they share the same GatewaySubnet (/27 is tight, /26 recommended). With Azure Virtual WAN, the gateway is built into the Virtual Hub, so you don't need a standalone VPN Gateway.

Should I use BGP?

Strongly recommended. Enabling BGP (Border Gateway Protocol) lets routes between on-prem and Azure exchange dynamically, eliminating static route maintenance. It's essentially mandatory for production. Assign ASNs (Azure side: 65515 by default; on-prem side: e.g., 65010, picked from the Private ASN range 64512-65534) and configure BGP Peer on the Local Network Gateway. Benefits: 1) no Azure-side changes when on-prem networks are added, 2) automatic route advertisement across multi-site connections, 3) automatic path failover. Note: Basic SKU doesn't support BGP — you need VpnGw1 or higher. You also need BGP support on your on-prem VPN device. Major vendors like Cisco, Juniper, Fortinet, SonicWall, and Sophos all support it.

What's the difference between Active-Active and Active-Standby?

Active-Standby (default): of the two Gateway instances, one is active and one is on standby — it fails over when needed. SLA is 99.9-99.95%. Active-Active: both instances are active simultaneously, load-balancing across two tunnels, doubling max bandwidth with a 99.95-99.99% SLA. Each Public IP terminates its own tunnel. Active-Active is recommended for mission-critical production. To enable it: in the Azure Portal Gateway settings, turn on "Active-active mode" and add a second Public IP. Your on-prem firewall must also accept two tunnels (Cisco ASA and Fortinet FortiGate need ECMP routing configured). The only extra cost is one additional Public IP, so the availability return on investment is excellent.

What are the operational best practices for VPN Gateway?

Key practices: 1) Run production with Active-Active + BGP, 2) Use Zone Redundant SKUs (VpnGw1AZ-5AZ) to survive AZ failures, 3) Size GatewaySubnet as /26 (to support future ExpressRoute coexistence and FastPath), 4) Public IP must be Standard SKU (Basic doesn't support zones), 5) Send Diagnostic Logs to Log Analytics and monitor with KQL, 6) Use Azure Monitor for VPN Gateway to watch Tunnel Health, 7) Regularly check Connection Status (Connected / NotConnected frequency), 8) Customize IKE Policy (defaults are loose — harden with AES-256 + SHA-256), 9) Rotate pre-shared keys (PSK), 10) Keep on-prem device firmware up to date. These together are the production standard and strike the right balance between availability and security.

Which Azure certifications cover VPN Gateway?

AZ-700 (Network Engineer Associate) covers VPN Gateway deeply: SKU selection, S2S/P2S/VNet-to-VNet, BGP, Active-Active, and troubleshooting all show up frequently. AZ-104 (Administrator) touches the basics in Domain 4. AZ-305 (Solutions Architect Expert) tests it from a design angle (VPN vs ExpressRoute). AZ-800 / AZ-801 (Windows Server Hybrid) tests it in a hybrid networking context, and SC-100 (Cybersecurity Architect Expert) covers it under zero-trust networking. For Azure network engineers, VPN Gateway is, alongside ExpressRoute, one of the two core hybrid connectivity technologies.

Related Articles & Deep Dives

Azure ExpressRoute 完全ガイド|専用線接続の設計・実装・運用ベストプラクティス【2026 年版】

Azure ExpressRoute の完全ガイド。VPN Gateway との違い、Circuit と Connection の階層構造、Local / Standard / Premium SKU 選定、Global Reach・ExpressRoute Direct・FastPath、MACsec / IPsec over ExpressRoute による暗号化、導入手順とコスト、関連認定試験 (AZ-700 / AZ-305) を日本語で網羅。

AZ-700 完全ガイド|Microsoft Azure Network Engineer Associate 出題範囲・学習リソース・合格戦略

Microsoft Certified: Azure Network Engineer Associate (AZ-700) の完全ガイド。5 ドメインの出題範囲、VNet / VPN Gateway / ExpressRoute / Azure Firewall / Application Gateway / Front Door / Private Link を網羅。必須実機演習、3-4 ヶ月の合格ロードマップ、AZ-305 や SC-500 へのキャリアパスを日本語で網羅。

Azure Application Gateway vs Front Door 完全比較|L7 ロードバランサーの選定ガイド【2026 年版】

Azure の L7 ロードバランサー Application Gateway と Front Door を完全比較。リージョン vs グローバル・WAF 機能・SKU 選定 (Standard / Premium)・コスト・適用シーンを表形式で整理。両方組み合わせる多層構成、Traffic Manager / Azure CDN との関係、関連認定試験 (AZ-700 / AZ-305) を日本語で網羅。

Azure Policy 完全ガイド|Effect・Built-in/Custom・Initiative・Remediation・コンプライアンス【2026 年版】

Azure Policy の完全ガイド。Effect 7 種類 (Deny/Audit/Modify/DeployIfNotExists/Append/AuditIfNotExists/Disabled) の使い分け、Built-in vs Custom Policy、Initiative (Policy Set)、Assignment Scope、Remediation、Microsoft Cloud Security Benchmark コンプライアンス活用、関連認定試験 (AZ-104 / SC-100 / AZ-305) を日本語で網羅。

Technical information in this article is based on the Azure VPN Gateway Documentation. This article is not an official Microsoft Corporation product and has no affiliation or endorsement relationship with Microsoft. Microsoft and Azure are trademarks of the Microsoft group of companies. Information reflects officially published material as of May 24, 2026. Always check the official pages for the latest information.

Check what you learned with practice questions

Practice with certification-focused question sets

Browse Azure exam prep
Author

NicheeLab Editorial Team

NicheeLab editorial team focused on data engineering and cloud certification learning. Content is structured around practical study needs and official exam domains.


Related articles
Azure

AZ-900 Azure Fundamentals: Complete Exam Guide (2026)

Pass AZ-900 — cloud concepts, Azure architecture, management...

Azure

Azure Certification Roadmap: Which Cert to Take Next (2026)

Choose your Azure certification path — Fundamentals, Associa...

Azure

AI-901 Azure AI Fundamentals (Beta): Complete Guide (2026)

Pass AI-901 — Microsoft Foundry, generative AI, responsible ...

Azure

Microsoft Entra ID Fundamentals for Azure Certs (2026)

Entra ID basics every cert candidate needs — tenants, identi...

Azure

DP-900 Azure Data Fundamentals: Complete Guide (2026)

Pass DP-900 — relational, non-relational, analytics, Power B...

Browse all Azure articles (104)
© 2026 NicheeLab All rights reserved.