3.2.2. Tunnel Types and Configuration
P2S supports three tunnel protocols, each with different capabilities (SSTP is retiring, so new designs use IKEv2 or OpenVPN):
| Protocol | Platforms | Ports | Best For |
|---|---|---|---|
| IKEv2 | Windows, macOS (13.0 and later) | UDP 500, 4500 | Native clients, best performance |
| SSTP | Windows only | TCP 443 | Retiring: can't be enabled after 31 Aug 2026; stops working 31 Mar 2027 (use OpenVPN for HTTPS-only firewalls) |
| OpenVPN | Windows, macOS, Linux, iOS, Android | TCP 443 | Cross-platform, Microsoft Entra ID auth (Windows and macOS via Azure VPN Client) |
Client Configuration: After configuring the gateway, download the VPN client package:
- Windows: Native or OpenVPN client
- macOS: Native IKEv2 or Azure VPN Client (OpenVPN)
- iOS, Android, Linux: OpenVPN client (certificate or RADIUS authentication; Entra ID is not available on these platforms)
Address pool defines the IP range assigned to connected clients. This pool must not overlap with VNet address spaces or on-premises networks.
💡 Design tip: Size the address pool for peak concurrent connections plus 20% buffer. A /24 gives you 251 usable addresses—plenty for most scenarios.