az network p2s-vpn-gateway vpn-client

Note

This reference is part of the virtual-wan extension for the Azure CLI (version 2.39.0 or higher). The extension will automatically install the first time you run an az network p2s-vpn-gateway vpn-client command. Learn more about extensions.

Download a VPN client configuration required to connect to Azure via point-to-site.

Commands

az network p2s-vpn-gateway vpn-client generate

Generate VPN profile for P2S client of the P2SVpnGateway in the specified resource group.

az network p2s-vpn-gateway vpn-client generate

Generate VPN profile for P2S client of the P2SVpnGateway in the specified resource group.

az network p2s-vpn-gateway vpn-client generate --name
                                               --resource-group
                                               [--authentication-method {EAPMSCHAPv2, EAPTLS}]

Required Parameters

--name -n

Name of the P2S Vpn Gateway.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--authentication-method

VPN client authentication method.

accepted values: EAPMSCHAPv2, EAPTLS