I can't ping to my mac computer from Azure Vm even if I connected Virtual Network Gateway VPN

Azure_hdA 0 Reputation points
2024-08-31T17:54:09.9833333+00:00

Firstly hello everyone. I rented a virtual machine from azure and installed centOS in it. CentOS is now in the CentOS-vnet virtual network. I want my local computer is on the same network with the centOS virtual machine so I installed and configured Virtual Network Gateway. I can connect to azure via vpn. Now my Mac is on the same network with the centos virtual machine. I can ping the centos machine but I can't ping my mac from the centOS machine. How can I resolve this?

CentOS private ip: 10.1.0.4

CentOS-vnet->Subnet-> default:10.1.0.0/24

CentOS-vnet->Subnet-> Gatewaysubnet:10.1.1.0/24

Virtual Network Gateway (point-to-site) -> address pool: 10.0.0.0/24

MacComputer private ip: 10.0.0.130

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

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 44,311 Reputation points Microsoft Employee
    2024-09-02T05:50:17.6833333+00:00

    @Azure_hdA ,

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this!

    Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others", I'll repost your solution.

    Please "Accept" the answer so that others in the community facing similar issues can easily find the solution.

    Issue:

    You were not able to Ping your P2S Client from Azure VM via VPN Gateway

    Solution:

    You disabled firewall settings, which resolved the issue.

    Settings->Network->Firewall->Disable Privacy Mode

    Thank you again for your time and patience throughout this issue.

    Cheers,

    Kapil.

    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.