I am having trouble connecting from an Azure Point-to-Site VPN to an Azure Web App via private endpoint.
The VPN is in an Azure Virtual WAN Hub, and I have an on-premises Site-to-Site connection and peered virtual networks in Azure virtual wan hub. Web Apps are configured with a private endpoint in one of the peered virtual networks to Virtual wan hub.
- Point-to-site vpn is configured with on-premise dns server ip, azure firewall private ip as dns server.
- Virtual wan - hub is connected to virtual networks in azure and private endpoints are created in one of the subnets of this connected virtual networks.
- No NSG, Firewall rules to block traffic from subnets and in virtual hub.
- when i am connected to azure vpn point to site, and ping the web app - resolving to public ip of web app.
- i have configured private dns zone for privatelink.azurewebsites.net and also added A record in my privatednszone myzone.com
- i can resolve private endpoint ip address when i am connected via VM in one of the peered virtual networks.
Current network:
Virtual wan - 1 hub, 2 virtual networks connected to virtual wan hub, SIte-to-site vpn, point-to-site vpn,
web apps (enabled with private endpoint - connected to one of the virtual networks subnet), SQL servers (enabled with private endpoint - connected to one of the virtual networks subnet)
Private dns zone in azure connected to vnet peered with virtual wan hub.