0

For the ping command, I have read (e.g. try this link), there's no port required. Yet I have a PC on my network which I cannot ping. Strangely, I can connect to using Remote Desktop.

However, I am able to ping it (as well as connect to it with RDP) when I turn off the firewall. How should I configure the firewall so that I can ping the machine even with the firewall on? I tried looking it up (the ping command i.e.) in the list of firewall exceptions but I couldn't find it.

1
  • Update: I can add ping.exe from the system32 folder but that process is on the machine. I want the firewall to allow access to the said PC when I am trying to ping it from the outside. Jan 20, 2014 at 21:29

2 Answers 2

3

Ping uses ICMP not TCP so it is not like a normal program when opening the firewall settings.

To enable ICMP Ping packets open the Windows Firewall configuration icon in Control Panel and go to the Advanced tab and click the ICMP settings button

enter image description here

From there check the box for Allow incoming echo request, that is the message type that represents ping.

enter image description here

IMHO blocking ICMP packets is generally not a good idea for your network health and I would recommend checking all of the boxes to allow all types of ICMP packets unless you have a specific reason not to.

1

You're right, ping doesn't use a port. It also doesn't use TCP or IP. It uses a protocol called ICMP. If you set up an exception, that's the protocol to use.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .