Overview
This section provides a comprehensive reference for PowerShell cmdlets designed to manage VPN client connection configurations for Azure Virtual Network Gateways. These cmdlets allow you to deploy, configure, and troubleshoot VPN client connectivity, ensuring secure and reliable access to your Azure virtual networks.
Managing VPN Client IP Pools
Cmdlets for configuring the IP address pools used by VPN clients connecting to your Azure VPN gateway.
- Add-AzVirtualNetworkGatewayVpnClientIpPool - Adds a VPN client IP pool to the virtual network gateway.
- Get-AzVirtualNetworkGatewayVpnClientIpPool - Retrieves the VPN client IP pools configured for the virtual network gateway.
- Remove-AzVirtualNetworkGatewayVpnClientIpPool - Removes a VPN client IP pool from the virtual network gateway.
Example Usage:
Configuring VPN Client Protocol Settings
Cmdlets to configure the authentication protocols and encryption settings for VPN client connections.
- Set-AzVirtualNetworkGatewayVpnClientProtocol - Configures the VPN client protocol (e.g., IKEv2, SSTP) for the virtual network gateway.
- Get-AzVirtualNetworkGatewayVpnClientProtocol - Retrieves the configured VPN client protocols for the virtual network gateway.
Example Usage:
Generating and Managing VPN Client Configuration Packages
Cmdlets for generating and downloading client configuration packages required for establishing VPN connections from client devices.
- Get-AzVirtualNetworkGatewayVpnClientConfigurationPackageUrl - Generates a URL to download a VPN client configuration package for a specific client OS.
- Get-AzVirtualNetworkGatewayVpnClientPackage - Retrieves and downloads a VPN client configuration package for a specific client OS.
Example Usage:
Revoking and Managing VPN Client Certificates
Cmdlets for managing client certificates used for authentication in point-to-site VPN connections.
- Add-AzVirtualNetworkGatewayVpnClientRevokedCertificate - Adds a revoked client certificate to the virtual network gateway.
- Get-AzVirtualNetworkGatewayVpnClientRevokedCertificate - Retrieves the list of revoked client certificates for the virtual network gateway.
- Remove-AzVirtualNetworkGatewayVpnClientRevokedCertificate - Removes a revoked client certificate from the virtual network gateway.
Example Usage:
Configuring Radius Server Settings
Cmdlets to configure the RADIUS server for authentication, enabling centralized user management for VPN clients.
- Set-AzVirtualNetworkGatewayRadiusServer - Configures the RADIUS server settings for the virtual network gateway.
- Get-AzVirtualNetworkGatewayRadiusServer - Retrieves the RADIUS server settings for the virtual network gateway.
- Remove-AzVirtualNetworkGatewayRadiusServer - Removes the RADIUS server settings from the virtual network gateway.
Example Usage: