I'm following these tutorials to enable a site-to-site connection on Windows Azure. I'm trying to connect a VPN to a virtual machine so I can access it via private IP.
https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-multi-site-to-site-resource-manager-portal#part3 https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-site-to-site-classic-portal
While creating the connection for the device to the virtual private gateway, I am getting the following error:
Failed to update the configuration for connection
...Error:UseLocalAzureIpAddress cannot be set...virtual network
gateway...does note have 'EnablePrivateIpAddress' flag set.
Also, I have tried to enable it under Virtual Private Gateway -> Configuration but there is no option for private IP.
Does anyone know how I can enable this either through the Azure portal or powershell?
As the hint on the right of the
Use Azure Private IP Address
tab. It's only supported on AZ SKUs. You have to deploy the Zone-redundant VPN gateways to enable this feature.Also, VpnGw1AZ, VpnGw2AZ, VpnGw3AZ, VpnGw4AZ, and VpnGw5AZ are the zone resilient versions of VpnGw1, VpnGw2, VpnGw3, VpnGw4, and VpnGw5.
Please note that
Reference: https://learn.microsoft.com/en-us/azure/vpn-gateway/about-zone-redundant-vnet-gateways