How to Block Internet Control Message Protocol (ICMP)

ICMP (Internet Control Message Protocol) is an error-reporting protocol that network devices such as routers and switches use to produce an error message to the source IP address when network problem occurs that blocks the delivery of IP packets.

Following are the steps to disable ICMP:

  1. On start menu type “control panel”. This will open the Control Panel.
  2. Click on “Windows Firewall”.
  3. On the right hand menu, click on “Advance Settings”.
  4. Windows firewall with advance security window will appear.
  5. In this window, click in “Inbound Rules” that appear on the right hand side of the screen.
  6. In the menu on the left hand side of the screen, click on “New Rule”.
  7. Another window will appear. Click on the radio button on Custom option and press next.
  8. Leave all programs selected and then press next.
  9. On the “Protocol type” dropdown menu, select “ICMPv4” and then click on “Customize”.
  10. Select the Specific ICMP type you want to block or select All ICMP types and click OK.
  11. On Action page, select “Block the connection” then click “Next”.
  12. Give the rule a name and click finish.

Alternatively you can also use command prompt to block ICMP. Type “netsh firewall set icmpsetting type = type mode = mode” in the command prompt and press enter. Type States the ICMP message type. Its possible values can be 2, 3, 4, 5, 8, 9, 11, 12, 13, 17, All. All specifies that you want to configure all ICMP message types. Mode specifies whether to enable meaning permit the ICMP message to pass through Windows Firewall or disable meaning prevent the ICMP message from passing through Windows Firewall.

Image courtesy: Unsplash

Disclaimer: Intellegens Inc is not legally responsible for any damage that may be caused while following the above mentioned steps. If you are part of an organization, please contact our support team at 1-877-575-9961 for further assistance.­

By | 2016-03-25T09:41:37+00:00 March 25th, 2016|Blog, Server Virtualization, Uncategorized|Comments Off on How to Block Internet Control Message Protocol (ICMP)

About the Author:

Call Now