Pinging a Windows 7 from a Mac, what firewall rules apply?

1

I have a Mac PC and a Windows PC on the same network.

If I turn the firewall off on the Windows PC the Mac can ping it, if I turn it on, the Mac cannot.

I've checked every individual option in the firewall, but it still is not working. What rule do I need to apply to allow the Mac to connect? Or what am I doing wrong?

Using Windows 7 and OS X Snow Leopard.

v15

Posted 2011-02-17T21:16:51.170

Reputation: 1 805

Your firewall might be blocking ICMP packets not allowing it to be pinged. You might still be able to access it though if it is connected to the internet. – paradd0x – 2011-02-17T21:23:22.537

I tried to allow all ICMPv4 packets through, but still no luck. Crazy thing is, it used to work yesterday, and I never changed any firewall settings, anywhere. – v15 – 2011-02-17T21:29:15.293

What kind of firewall are you using? The Windows Firewall? Or a Third Party firewall? – paradd0x – 2011-02-17T21:32:11.670

Windows Firewall. UPDATE: so I allowed all connections for ICMPv4, domain, public and private. That worked, but it seemed a little unsafe. Is it ok to leave this open? Allow all connection from this? – v15 – 2011-02-17T21:36:11.560

2Unless you are worried about bad ping packets from some unknown source. No. It's nothing to worry about. And it's not really a connection, since most connections are done in TCP and UDP. ICMP is mostly for ping packets. So you should be fine by leaving it open. – paradd0x – 2011-02-17T21:38:00.230

Answers

1

Your firewall is blocking ICMPv4 packets not allowing it to be pinged. Opening an exception for them in the firewall should help. There is also a very low risk of getting problems from setting that exception in ICMPv4 as most internet connections are done with TCP and UDP

paradd0x

Posted 2011-02-17T21:16:51.170

Reputation: 7 771

2

Here's some info on creating the ICMPv4 rule in Windows 7's firewall from scratch.

If you have IPv6 enabled and working you may have to also add a similar rule for ICMPv6.

These rule(s) should also already be in the "File and Printer Sharing" group of 'predefined' rule sets in the firewall (it'll offer Predefined sets as a choice when you click "New Rule").

You also only have to apply this rule to the networking 'domain' it thinks you're in for your network (ie: Home, Work or Public).

If it WAS working, and then it wasn't, perhaps re-detected the network and it's now set as 'Public' instead of a trusted "Home" or "Work" network. You may want to double-check that as well.

Hope that helps...

Ƭᴇcʜιᴇ007

Posted 2011-02-17T21:16:51.170

Reputation: 103 763