I pinged google


Pinging with 32 bytes of data: Reply from bytes=32 time=41ms TTL=128

Now I want to try blocking that IP

So I created a rule..
Here are my profile settings


Below you see the rule I created in an attempt to stop myself being able to ping that IP


And here are screenshots showing the rule







Then I ping and it isn't blocked

enter image description here

Notice from the screenshots that I have chosen all protocols so it should include ICMP.

  • it seems maybe if you create a rule that blocks all, and then (test it, ping, get general failure) then edit it to block just the IP, then it works.. Though that then gives a question of why it doesn't work when I make a rule from scratch setting the IP
    – barlop
    Commented Jul 25, 2015 at 21:11

1 Answer 1


Possible Issues

1. Select Any Local IP Address

Unde Scope (in your last screenshot), change "Local IP Address":

  • From: "These IP Addresses" (
  • To "Any IP Address"

Firewall isn't necessarily "blocking traffic from B", it's "blocking traffic between A and B".

Where A represents your local IP addresses (since multiple IPs can bind to the same box) and B is the remote address. The sure fire way to block any traffic between your machine to the remote one is to just block all IPs from your local box.

2. Block all connections by default

Windows by default allows all outgoing connections. You need to:

  1. Go to Advanced settings of firewall
  2. Then, on the right side panel, click properties
  3. Turn on all tabs (Private/Domain/Public) for Outbound connections to block.

Be warned that it disables ALL outgoing connections, and you need to set up outgoing rules after that for any program you want that allowed to go out.

  • -1 Windows by default has outgoing connections as a blacklist and that is fine. I want to allow all except particular ones and I want to add rules for those. I do not want to disable all outgoing like a whitelist, and I shouldn't need to.
    – barlop
    Commented Jul 25, 2015 at 21:09
  • Ahh, I see what you want now. Then change radio-button on the last of your screenshots Local IP address from These IP addresses: to Any IP addresses
    – Alex
    Commented Jul 25, 2015 at 21:42
  • +1 well spotted, I didn't realize the win7 firewall didn't really interpret for local interface as Any. So yeah, changing to Any IP address worked. (or my local ip but better 'any'), works nicely and as I wanted.
    – barlop
    Commented Jul 25, 2015 at 21:59

You must log in to answer this question.

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