Bootstrap FreeKB - Windows Server Core - netsh command (configure firewall to refuse ICMP packets)
Windows Server Core - netsh command (configure firewall to refuse ICMP packets)

Updated:   |  Windows Server Core articles

Before configuring the firewall in Server Core to refuse ICMP packets, we should first see if the firewall in Server Core is currently allowing ICMP packets. From any other computer in the LAN, ping the IP address of the Server Core machine. If the ping is successful, this means the Server Core machine is allowing ICMP packets.

To set configure the firewall in Server Core to refuse ICMP packets:

  1. In a command line prompt, type netsh firewall set icmpsetting 8 disable and press enter

Here is a screen shot of Server Core configured to accept ICMP packets.

 

From another machine in the LAN, ping is successful.

 

Here is a screen shot of Server Core configured to refuse ICMP packets.

 

From another machine in the LAN, ping times out.




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter fa4f70 in the box below so that we can be sure you are a human.