Enable or disable Ping on the Windows server

Ping is enabled or disabled on the Windows server?

Method 1: Command line mode After
entering the server, click Start-run the input command:

netsh firewall set icmpsetting 8

In this way, the server can be pinged externally. For the
same reason, if you want to prohibit Ping, you can do it by running the following command:

netsh firewall set icmpsetting 8 disable

Method 2: Firewall advanced panel method

  1. Enter the control panel -> Management Tools -> find "Advanced Security Windows Firewall"
  2. Click on inbound rules
  3. Echo Request-ICMPv4-In found (Echo Request-ICMPv4-In)
  4. Right-click the rule and click "Enable" to
    prohibit ping in the same way.
    Icon:
    Insert picture description here
    Open the firewall, find the inbound rule of "Advanced Security Windows Firewall", and find "File and Printer Sharing (Echo Request-ICMPv4-in)" Right-click and select "Enable Rules"!

If IPV6 is used. There is also "File and Printer Sharing (Echo Request-ICMPv6-in)" at the back. Just enable the rule.

Guess you like

Origin blog.csdn.net/wlc_1111/article/details/106048982