Create ICMP NSG rule without exposing a port

Andrej Rosic 1 Reputation point
2020-06-03T21:17:05.727+00:00

how do I create a NSG rule for ping (ICMP) without exposing a port?

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

1 answer

Sort by: Most helpful
  1. suvasara-MSFT 10,041 Reputation points
    2020-06-04T16:19:50.113+00:00

    Greetings,

    Port numbers are a feature of transport layer protocols such as TCP and UDP. ICMP is part of the internetworking layer (IP), so that attribute doesn't exist at that layer. ICMP has no ports concept.

    In order to enable ICMP protocol from NSG,
    9150-snapshot.png

    ----------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

    2 people found this answer helpful.
    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.