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:
- On start menu type “control panel”. This will open the Control Panel.
- Click on “Windows Firewall”.
- On the right hand menu, click on “Advance Settings”.
- Windows firewall with advance security window will appear.
- In this window, click in “Inbound Rules” that appear on the right hand side of the screen.
- In the menu on the left hand side of the screen, click on “New Rule”.
- Another window will appear. Click on the radio button on Custom option and press next.
- Leave all programs selected and then press next.
- On the “Protocol type” dropdown menu, select “ICMPv4” and then click on “Customize”.
- Select the Specific ICMP type you want to block or select All ICMP types and click OK.
- On Action page, select “Block the connection” then click “Next”.
- 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.