Cannot connect to network resources through Azure point-to-site VPN

daviddebie 1 Reputation point
2021-11-17T11:36:42.48+00:00

I have an Azure vnet with VPN gateway installed and trying to connect to the VMs that are in the network.

The root certificate is installed in Azure, the client certificate is installed on my local machine. Via the VPN client downloaded from the Portal I can connect to the VPN (so it doesn't seem to be a certificate issue).

However, every VM that I'm trying to connect to gives me a timeout, with the following message:

WarningMsg
11/17/2021 12:04:28
RDP disconnected!
516 Remote Desktop can't connect to the remote computer for one of these reasons:

  1. Remote access to the server is not enabled
  2. The remote computer is turned off
  3. The remote computer is not available on the network
    Make sure the remote computer is turned on and connected to the network, and that remote access is enabled.

Already checked that my computer allows remote access, also checked that the routes file of the VPN connection is complete. Double checked via ipconfig that I'm on an allocated IPv4 address.
The weird thing is, two of my coworkers can connect without any issue, using the same client certificate.
I seem to be a bit out of options now.

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,786 questions
{count} votes

1 answer

Sort by: Most helpful
  1. msrini-MSFT 9,291 Reputation points Microsoft Employee
    2021-12-21T13:35:10.633+00:00

    @daviddebie ,

    Check if the VPN is still connected. If yes, open command prompt and "route print" and see if you are able to see the VNET route via the Gateway.

    From Azure, navigate to the Destination VM and see the NIC effective routes and check if the P2S address pool route is present.

    Regards,
    Karthik Srinivas

    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.