Point-to-Site VPN
P2S gateway SKUs · tunnel types · certificate, RADIUS and Microsoft Entra ID authentication · client configuration · troubleshooting · Always On VPN
By the tools4free.dev team · Last reviewed November 13, 2026
Practice questions for this topic →
Tunnel types
A point-to-site (P2S) connection is started from the client computer, needs no VPN device or public-facing IP address at the client, and is the usual choice when only a few clients must reach a VNet. P2S needs a route-based VPN gateway; it isn't supported on policy-based gateways.
| Tunnel type | Transport | Clients | Notes |
|---|---|---|---|
| OpenVPN | SSL/TLS (TLS 1.2 and 1.3); standard TCP 443, so it passes most firewalls | Android, iOS 11.0+, Windows, Linux, macOS 13.0+ | The only tunnel type for Microsoft Entra ID authentication. Can't coexist with SSTP. Not supported on Basic SKU. Supports IPv6. |
| SSTP | Proprietary TLS-based; TCP 443 | Windows only | Max 128 connections on any SKU. No IPv6. Being retired (see below). |
| IKEv2 | Standards-based IPsec; outbound UDP 500 and 4500 plus IP protocol 50, which firewalls don't always open | Mac (macOS 13.0+) and the Windows native client | Supports IPv6. Supported on Basic SKU. Can coexist with SSTP or OpenVPN. |
- Combinations in the portal: OpenVPN; SSTP; IKEv2; IKEv2 and OpenVPN; IKEv2 and SSTP. SSTP and OpenVPN are both TLS-based, so they can't be on the same gateway.
- Windows with IKEv2 and SSTP: the client tries IKEv2 first and falls back to SSTP. macOS connects only with IKEv2.
- Address pool split: with SSTP plus IKEv2 the P2S address pool is split between the two. SSTP clients are capped at 128 even for pools larger than /24; smaller pools are halved. Minimum pool mask: /29 for active-passive, /28 for active-active.
- Client address pool must be private and must not overlap the on-premises location the client connects from or the VNet.
- Active-active gateway with P2S needs a third public IP address for the P2S endpoint.
- Client software: only the native Windows client for SSTP and the native Mac client for IKEv2 are supported; the OpenVPN client works on all platforms for the OpenVPN protocol.
- Windows and IKEv2: IKEv2 is supported on Windows 10 and Windows Server 2016, but older builds need an update and a registry value (
DisableCertReqPayloadset to 1); builds newer than Windows 10 1709 and Server 2016 1607 don't. Windows versions earlier than Windows 10 can use only SSTP or OpenVPN. Microsoft recommends Windows 11. - Traffic selector limits: Windows IKEv2 clients fail to connect if the VNet address spaces plus connected local networks, VNet-to-VNet connections and peered VNets exceed 255 (Windows 10 version 2004 and later) or 25 (earlier). OpenVPN's limit is 1,000 routes.
- S2S and P2S together are allowed on a route-based gateway, but a P2S client's public IP must differ from the S2S device public IP, or the P2S connection won't work.
- No DDNS for P2S clients. The Azure VPN Client supports many connection profiles, but only one connection at a time.
SSTP retirement: since Aug 31, 2026 Microsoft no longer supports enabling SSTP on VPN gateways, and from Mar 31, 2027 existing SSTP-enabled gateways can no longer establish SSTP connections (they stop working). Migrate by adding IKEv2 next to SSTP (no impact on existing clients) or by replacing SSTP with OpenVPN (existing clients lose connectivity until they get the new profile). Existing Basic SKU gateways that use SSTP only can enable IKEv2.
Gateway SKUs and limits for P2S
| SKU | SSTP connections | IKEv2 / OpenVPN connections | RADIUS |
|---|---|---|---|
| Basic | 128 | IKEv2 only; OpenVPN not supported | No |
| VpnGw1AZ | 128 | 250 | Yes |
| VpnGw2AZ | 128 | 500 | Yes |
| VpnGw3AZ | 128 | 1,000 | Yes |
| VpnGw4AZ | 128 | 5,000 | Yes |
| VpnGw5AZ | 128 | 10,000 | Yes |
- Limits are separate: a VpnGw1AZ can carry 128 SSTP connections and 250 IKEv2 connections at once.
- Shared capacity: many P2S connections can hurt S2S connections, because the aggregate throughput benchmark covers both. A single P2S or S2S connection can have much lower throughput.
- Basic SKU: supports IKEv2 for P2S but not OpenVPN, RADIUS or IPv6. Since November 2025 new Basic gateways use IKEv2 by default. Microsoft Entra ID authentication can't use the Basic SKU.
- Enabling later: RADIUS or IKEv2 can be enabled on an existing gateway (PowerShell or portal) if its SKU supports them.
- Policy-based gateways can't do P2S. Create a route-based gateway.
- When the limit is reached clients get a "too many VPN clients connected" failure; the portal shows the number of connected clients.
Authentication methods
| Tunnel type | Authentication that can be used |
|---|---|
| OpenVPN | Any subset of Microsoft Entra ID, RADIUS and Azure certificate |
| SSTP | RADIUS or Azure certificate |
| IKEv2 | RADIUS or Azure certificate |
| IKEv2 and OpenVPN | RADIUS, Azure certificate, Microsoft Entra ID and RADIUS, or Microsoft Entra ID and Azure certificate |
| IKEv2 and SSTP | RADIUS or Azure certificate |
You can select several authentication types. A connecting client must be supported by at least one authentication type and its tunnel type. Example: with IKEv2 and OpenVPN plus Microsoft Entra ID, Entra ID is used only over OpenVPN. Changing tunnel or authentication type means every client needs a new configuration package.
Azure certificate authentication
- Trust model: you upload the public key of a trusted root certificate (Base64 encoded X.509 .cer, never the private key) to the gateway. Every client needs a client certificate generated from that root, in addition to the VPN client software. The gateway validates the client certificate when the connection is established.
- Root certificates: up to 20 can be uploaded. Use an enterprise CA (recommended) or a self-signed root. Paste the data as one continuous line, without spaces or line breaks in the data or the certificate name.
- Client certificates: RSA-based X.509 is supported; ECC/ECDSA isn't for IKEv2. For an enterprise CA use the common name format
name@contoso.comand a template with Client Authentication first in the Enhanced Key Usage list. Certificates from Azure Key Vault can't be used. - Revocation: unique client certificates let you revoke one user by adding its thumbprint (no spaces) to the revoked certificates list. Removing a root certificate stops every client certificate issued from it.
- Use RADIUS instead if you want your existing certificate infrastructure to validate: then you don't upload root and revoked certificates to Azure.
Microsoft Entra ID authentication
- Requirements: OpenVPN tunnel type, the Azure VPN Client (Windows 11 or macOS), a route-based gateway that isn't Basic, and a Microsoft Entra tenant. Conditional Access and MFA are available.
- Gateway values: tenant
https://login.microsoftonline.com/{TenantID}(no trailing backslash); issuerhttps://sts.windows.net/{TenantID}/with the trailing slash (without it the connection might fail); audiencec632b3df-fb67-4d84-bdcf-b95ad541b5c8for the Microsoft-registered Azure VPN Client app. - One audience only. A P2S gateway supports a single audience value (Microsoft-registered, manually registered or custom). The Microsoft-registered app needs no manual app registration and no admin consent link.
- Client profile: download the VPN client package; the
azurevpnconfig.xmlin the AzureVPN folder holds the connection settings and can be distributed to users. - Disconnects: the client refresh token is renewed about every hour. An Entra administrator can extend the sign-in frequency with Conditional Access policies.
RADIUS authentication
- Model: the VPN gateway is a pass-through. The RADIUS server (on-premises or in the VNet, optionally two for HA) integrates with Active Directory and can integrate with other identity systems and MFA. Third-party RADIUS servers are supported.
- Reachability: the gateway must reach the server. An on-premises RADIUS server needs a site-to-site VPN with proper routes; ExpressRoute can't carry the RADIUS traffic. RADIUS requests time out after 30 seconds and the timeout can't be changed.
- Setup: deploy the RADIUS server, add the VPN gateway as a RADIUS client using the GatewaySubnet, then give the gateway the server address (IP is safer than a name for an on-premises server), the shared secret and the client address pool.
- Supported protocols: IKEv2 (EAP-based authentication only), SSTP and OpenVPN. Not available on the Basic SKU or in the classic deployment model.
- Active-active: configure the RADIUS server settings in the Azure portal rather than PowerShell, because P2S needs an additional IP address in active-active mode.
- MFA: text-based MFA that asks the user to type a code in the VPN client isn't supported with RADIUS.
- RADIUS certificate authentication uses EAP-TLS: the RADIUS server validates the certificate, unlike Azure certificate authentication where the gateway does.
VPN client configuration and routing
- Profile package: Download VPN client on the Point-to-site configuration page generates a zip named after the gateway. It contains the settings for the authentication and tunnel type configured on the gateway. It isn't the VPN client software.
- Regenerate and redistribute after any change such as adding a tunnel type, changing the authentication type or changing topology (peering, new VNets). Existing packages aren't updated automatically. Windows VPN clients need the new package installed again to see topology changes.
- Contents: WindowsAmd64 and WindowsX86 installers; a Generic folder (
VpnSettings.xmlwith server address and tunnel type,VpnServerRoot.certo validate the gateway,RadiusServerRoot.certo validate the RADIUS server); an AzureVPN folder for the Azure VPN Client. - Windows: the native client handles IKEv2 and SSTP; the OpenVPN tunnel uses the Azure VPN Client, OpenVPN Client 2.x or OpenVPN Connect 3.x. Users need administrator rights on the client device to start the connection. Install the client certificate with its private key and chain in Current User\Personal.
- macOS: the native client works only if IKEv2 is configured. Create a profile per Mac because each profile holds that user's certificate.
- Root certificate migration: Azure periodically rotates the gateway root certificate and the new profile must be generated and redistributed to all P2S clients, not just certificate clients, before the migration deadline (end of January 2027) or clients can't connect. The gateway configuration itself doesn't change.
- Peered VNets: clients reach a peered VNet only if the gateway VNet has Allow gateway transit and the peered VNet has Use remote gateways. Access is limited to directly peered VNets, not transitive.
- VNets joined by S2S VPN connections without BGP: clients can reach only the gateway VNet. To access the additional VNets, BGP must be used.
- Custom routes can be advertised to P2S clients from the Point-to-site configuration page (no spaces), for example to send a storage endpoint IP through the tunnel. They can also be used for forced tunneling of VPN clients.
Troubleshooting client and authentication problems
| Symptom or error | Likely cause | Fix |
|---|---|---|
| Error 798: certificate could not be found for EAP | Client certificate missing from Current User\Personal\Certificates | Install the client certificate (and the root in Local Computer Trusted Root); reboot after installing |
| Remote server is not responding (IKEv2 on Windows) | Windows version doesn't support IKE fragmentation | Install the update and set the DisableCertReqPayload registry value to 1 on Windows 10 or Server 2016 (older builds) |
| Error 0x80090326: message unexpected or badly formatted | A UDR with the default route on the gateway subnet, root certificate not uploaded, or key corrupted or expired | Remove the UDR; check the root certificate in the portal, delete and upload it again |
| Certificate chain terminated in an untrusted root | Certificates in the wrong store | Put the client .pfx in Current User\Personal and the root and gateway certificates in Trusted Root; reinstall |
| Target URI is not specified | Wrong gateway type | Gateway type must be VPN and the VPN type RouteBased |
| Failed to save gateway: data for certificate invalid / resource name invalid | Root certificate data contains an invalid character such as a space or a line break; or the certificate name contains a space | Use one continuous line for the data and a valid name |
| All P2S clients can't connect after a gateway upgrade | The certificate is more than 50 percent through its lifetime and is rolled over | Download and deploy the P2S package again on all clients |
| Error 812: connection prevented by policy on the RAS/VPN server | RADIUS server settings are wrong or the gateway can't reach the RADIUS server | Fix the RADIUS configuration and reachability |
| Error 800: VPN tunnels failed | Outdated NIC driver | Update the NIC driver |
| Error 0x80092013: revocation server offline | Client can't reach the two DigiCert CRL URLs (often a proxy or edge firewall) | Allow access to the CRL sites |
| Connected, but can't reach Azure resources | The client didn't get routes from the gateway | Reset the VPN gateway; download the P2S client again after peering is configured |
| Can't resolve on-premises FQDNs | Azure DNS servers on the VNet take precedence over the client's local DNS servers | Make the VNet DNS servers resolve on-premises records (DNS forwarders or conditional forwarders) |
| Your authentication with Microsoft Entra expired | Refresh token expired or invalid (renewed about hourly) | Extend the sign-in frequency with Conditional Access |
| Connection fails at the connection limit | Maximum number of connections reached | Check the number of connected clients in the portal; the limit depends on the gateway SKU and tunnel type |
- Certificate mismatch with Azure certificate authentication: clear Verify the server's identity by validating the certificate or add the server FQDN to a manually created profile. The tunnel protocol already validates the server certificate and FQDN.
- File shares: a client that connects from the internet may be unable to use Kerberos to a domain controller. Disabling domain credential caching (
DisableDomainCreds= 1) is the documented workaround. - Reinstalling the client: delete the old VPN client configuration files under the user's Network\Connections folder before running the installer again.
- Install failures: import the gateway .cer from the client package into the computer's Trusted Root Certification Authorities and restart.
Always On VPN and Azure Network Adapter
Learn coverage is limited here. No Azure VPN Gateway page describes an Always On VPN design, and the Azure Network Adapter is mentioned on one Windows Admin Center page only. The facts below are the ones the Learn pages state.
Always On VPN
- What it is: a Windows client feature set. Profiles use ProfileXML and can be deployed with PowerShell, Configuration Manager, Intune or other MDM tools. Always on VPN works on domain-joined, non-domain-joined and Microsoft Entra ID-joined devices and in all Windows editions.
- Automatic reconnect: the Azure VPN Gateway FAQ says automatic reconnection after a restart is a function of the client; Windows provides it through Always On VPN.
- Protocols: user tunnel supports SSTP and IKEv2; device tunnel supports IKEv2 only, with no SSTP fallback. The IKEv2 protocol type supports machine certificate authentication. For clients behind firewalls or proxies, automatic protocol selection can fall back from IKEv2 to SSTP.
- Device tunnel connects before the user signs in. It's configured only on domain-joined Windows 10 Enterprise or Education 1709 or later devices, needs machine certificate authentication and a root CA for incoming connections, and must be configured as split tunnel (force tunnel isn't supported).
Azure Network Adapter
- Only Learn statement: Windows Admin Center can simplify setting up a point-to-site VPN from an on-premises server into an Azure virtual network (the Azure Network Adapter feature).
CLI and PowerShell
| Task | Azure CLI | PowerShell |
|---|---|---|
| Add the RADIUS server and client address pool (IKEv2) | - | Set-AzVirtualNetworkGateway -VirtualNetworkGateway $Gateway -VpnClientAddressPool "172.16.201.0/24" -VpnClientProtocol "IKEv2" -RadiusServerAddress "10.51.0.15" -RadiusServerSecret $Secure_Secret |
| Define two RADIUS servers for high availability | - | $radiusServer1 = New-AzRadiusServer -RadiusServerAddress 10.1.0.15 -RadiusServerSecret $radiuspd -RadiusServerScore 30 |
| Generate RADIUS (EAP-TLS) VPN client configuration | - | New-AzVpnClientConfiguration -ResourceGroupName "TestRG" -Name "VNet1GW" -AuthenticationMethod "EapTls" -RadiusRootCert "<full path name of .cer file containing the RADIUS root>" -ClientRootCert "<full path name of .cer file containing the client root>" | fl |
| Retrieve previously generated client configuration | - | Get-AzVpnClientConfiguration -ResourceGroupName "TestRG" -Name "VNet1GW" | fl |
| Add IKEv2 next to SSTP on a gateway (certificate authentication) | - | Set-AzVirtualNetworkGateway -VirtualNetworkGateway $vng -VpnClientAddressPool <Addresspool> -VpnClientProtocol IkeV2,SSTP -VpnAuthenticationType Certificate -VpnClientRootCertificates $VpnClientRootCert |
| Advertise a custom route to P2S clients | - | Set-AzVirtualNetworkGateway -VirtualNetworkGateway $gw -CustomRoute 203.0.113.250/32 |
| Remove the P2S configuration from a gateway | az network vnet-gateway update --name <gateway-name> --resource-group <resource-group name> --remove "vpnClientConfiguration" | - |
| Install the Azure VPN Client with WinGet | winget install Microsoft.AzureVPNClient --source winget | - |
Exam Tips
Tick each tip once you can answer it without looking.
“Remote users on restrictive networks must connect; firewalls only allow outbound 443” → OpenVPN (TLS over TCP 443). SSTP (Windows only) also uses 443.. Trap: IKEv2 needs UDP 500 and 4500 plus IP protocol 50, which firewalls don't always open.
“Microsoft Entra ID authentication for P2S” → OpenVPN tunnel type + Azure VPN Client (Windows 11 or macOS). Not Basic SKU, not policy-based.. Trap: IKEv2 and SSTP can't use Entra ID; with IKEv2 and OpenVPN both enabled, Entra ID uses OpenVPN only.
“Entra gateway settings: issuer value” → https://sts.windows.net/{TenantID}/ with the trailing slash. Tenant: https://login.microsoftonline.com/{TenantID} without a trailing backslash.. Trap: A missing trailing slash on the issuer can make the connection fail.
“How many Entra audience values can a P2S gateway have?” → One. Use the Microsoft-registered value c632b3df-fb67-4d84-bdcf-b95ad541b5c8 to skip manual app registration and admin consent.. Trap: You can't mix manually registered and Microsoft-registered audiences on one gateway.
“Which P2S tunnel types can't be on the same gateway?” → SSTP and OpenVPN (both TLS-based). IKEv2 can pair with either.. Trap: SSTP plus IKEv2 is allowed, but the address pool is split between them and SSTP is capped at 128.
“Need more than 128 simultaneous P2S clients” → IKEv2 and/or OpenVPN on a larger SKU (250 on VpnGw1AZ up to 10,000 on VpnGw5AZ). SSTP is capped at 128 on every SKU.. Trap: Upgrading the SKU doesn't raise the SSTP limit.
“P2S with RADIUS on a Basic SKU gateway” → Not possible. RADIUS (and OpenVPN, IPv6) aren't supported on Basic; Basic supports IKEv2.. Trap: Basic SKU supports IKEv2 for P2S, so certificate authentication over IKEv2 works.
“On-premises RADIUS server for P2S users” → A site-to-site VPN to the on-premises site with routes to the server. IKEv2 with RADIUS must use EAP; requests time out after 30 seconds.. Trap: ExpressRoute can't carry the gateway's RADIUS traffic.
“Revoke one user's access without affecting others (certificate authentication)” → Add that client certificate's thumbprint to the revoked certificates list. Use unique client certificates per user.. Trap: Removing the root certificate blocks every client certificate issued from it.
“P2S clients use certificate authentication with SSTP: what must be uploaded to Azure?” → The root certificate public key (.cer, Base64, up to 20 root certificates), as one continuous line.. Trap: Export the public key only, not the private key; a space or line break in the data makes the save fail.
“P2S settings changed (tunnel type, auth type, peering)” → Generate and redistribute a new VPN client configuration package. Windows clients must reinstall it for topology changes.. Trap: Existing client profiles aren't updated automatically.
“P2S clients must reach a spoke VNet peered with the gateway VNet” → Allow gateway transit on the gateway VNet, Use remote gateways on the spoke, and regenerate the client package. Access isn't transitive.. Trap: A VNet two peering hops away isn't reachable; VNets joined by S2S need BGP.
“Connected but can't reach Azure resources” → The client didn't get the routes: reset the VPN gateway and download the P2S client again.. Trap: The DigiCert CRL error (0x80092013) and error 798 are certificate problems, not route problems.
“Error 798 or 0x80090326” → 798: client certificate missing from Current User\Personal. 0x80090326: UDR with default route on the gateway subnet, or root certificate missing, corrupted or expired.. Trap: Error 812 points to RADIUS settings or reachability.
“SSTP retirement” → No new SSTP enablement from Aug 31, 2026; SSTP stops working on existing gateways from Mar 31, 2027. Add IKEv2 (no impact) or switch to OpenVPN (clients must get a new profile).. Trap: Switching to OpenVPN disconnects existing clients until the new profile is installed; adding IKEv2 doesn't.
“Device tunnel (Always On VPN) with a P2S gateway” → IKEv2 with machine certificate authentication; split tunnel only; no SSTP fallback for the device tunnel.. Trap: SSTP fallback applies to the user tunnel, not the device tunnel.
Sources
- About Azure point-to-site VPN connections
- About gateway SKUs
- Configure P2S server settings: certificate authentication (portal)
- Configure P2S gateway for Microsoft Entra ID authentication
- Configure the Azure VPN Client for Microsoft Entra ID
- Connect using P2S and RADIUS authentication (PowerShell)
- Configure a VPN client for RADIUS authentication
- Configure a VPN client for certificate authentication
- SSTP retirement and migration
- About P2S routing
- Advertise custom routes for P2S clients
- About gateway root certificate migration
- Troubleshoot Azure point-to-site connection problems
- Azure VPN Gateway FAQ
- Always On VPN for Windows Server Remote Access
- Configure the VPN device tunnel in Windows client
- Windows Admin Center Azure integration (mentions Azure Network Adapter)
Checked against Microsoft Learn on November 13, 2026.