Issue with Azure VPN Client

Suraj Rumpal 0 Reputation points
2023-04-01T10:45:35.1866667+00:00

Hi,

I have recently created two virtual machines in azure under the same Vnet. This is then linked back to our on-premise site and I can ping from on-prem back to azure via the host name so that shows that dns is working. However when I create the P2S and download the package and import that into the Azure VPN Client I cannot ping back to my on-prem network but can ping into the Azure network. I also get no internet when connected to the vpn. when connect to the vpn client I do not see any dns address nor the default gateway. Is this normal? The on-prem dns server is added into the Vnet so should that not be available in the P2S?

on-prem network 192.168.99.0/24

azure network 10.0.0.0/24

thanks for you help in advance

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
696 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,057 questions
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,566 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,532 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Unknown_Beast 145 Reputation points
    2023-04-03T07:12:49.67+00:00

    Based on the information you provided, it seems like there may be some configuration issues with your Point-to-Site (P2S) VPN connection to Azure.

    Here are some possible reasons why you are unable to ping back to your on-prem network:

    1. Subnet configuration: Ensure that the address space of the VNet in Azure (10.0.0.0/24) does not overlap with the on-premises network (192.168.99.0/24). If there is an overlap, you may experience routing issues.
    2. Routing: Ensure that the routes are properly configured on the on-premises VPN device, and that traffic from the on-premises network is correctly routed to the VNet in Azure. Also, ensure that the routing is configured in Azure correctly.
    3. Firewall: Ensure that the firewall rules are configured correctly to allow traffic between the on-premises network and the Azure VNet.

    Regarding your issue with no internet access when connected to the VPN client, this could be due to a misconfiguration of the VPN client or the VPN gateway in Azure. You may need to check the DNS and default gateway settings on the VPN client to ensure that they are configured correctly.

    Lastly, regarding the DNS server not being available in the P2S VPN, you need to ensure that the DNS server is configured correctly in the Azure VNet, and that the VPN client is configured to use the correct DNS server.

    I recommend checking the Azure VPN Gateway logs and the on-premises VPN device logs to see if there are any errors or issues that can help identify the problem. You can also try running a network capture to see if the packets are being routed correctly.


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.