Suddenlty the outbound ICMP ping stopped working for specific public IP's

Ashwin Ramachandran 1 Reputation point
2021-04-17T14:36:02.927+00:00

We have agent (heartbeat) which does icmp ping . Using this we monitor specific public IP's of our clients for availability monitoring.
Suddenly we are observing that from specific Azure VM we are not getting ICMP response for these public IP's . But when we do the icmp ping from the different VM on azure the same resource group, the ICMP ping goes through.

Any Idea what might be the reason for not getting the icmp response for these device. Is there any Azure specific services which is blocking this icmp packets?

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,143 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Manu Philip 16,971 Reputation points MVP
    2021-04-17T16:34:41.287+00:00

    If these are Windows VMs, have a look at Firewall settings of the VM and allow the ICMP, if not done yet

    # For IPv4
    netsh advfirewall firewall add rule name="ICMP Allow TCP V4" protocol="icmpv4:8,any" dir=in action=allow
    
    #For IPv6
    netsh advfirewall firewall add rule name="ICMP Allow TCP V6" protocol="icmpv6:8,any" dir=in action=allow
    
    0 comments No comments