Cannot connect to VM via RDP using VPN

Hiran 1 Reputation point
2020-09-10T10:42:16.407+00:00

Hi

I have setup Virtual Network, and virtual gateway. Also create the root and client certificates and installed on the client and connected to the VPN.

But cannot access the server on the private ip.

Could you please advise.

Thank you

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,555 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,503 questions
{count} votes

2 answers

Sort by: Most helpful
  1. GitaraniSharma-MSFT 49,581 Reputation points Microsoft Employee
    2020-09-10T13:28:54.407+00:00

    Hello @Hiran ,

    The problem where you are successfully connected to Azure Point to Site VPN but are unable to access the Azure resources via their Private IPs may occur if your VPN client does not get the routes from Azure VPN gateway.

    You can browse to %AppData%\Microsoft\Network\Connections\Cm*yourGuid*\routes.txt (C:\Users\userID\AppData\Roaming\Microsoft\Network\Connections\Cm*VPNGuid*\routes.txt) in your client machine and check if you have the routes for your connected Azure Vnet & P2S client address pool added here.

    In case you do not see the Azure Vnet address space added here, you can reset Azure VPN gateway to get the routes added. In case you have configured virtual network peering with another Vnet, you have to re-download & re-install the Point-to-Site VPN client on your machine to make sure that the new routes are being used.

    Please refer : https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-troubleshoot-vpn-point-to-site-connection-problems#the-point-to-site-vpn-connection-is-established-but-you-still-cannot-connect-to-azure-resources

    Kindly let us know if the above helps or you need further assistance on this issue.

    ----------------------------------------------------------------------------------------------------------------

    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    1 person found this answer helpful.

  2. T. Kujala 8,721 Reputation points
    2020-09-10T12:27:07.397+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.