Blocking Incoming IP With Win 7 Firewall

2

0

This question was asked before, but the answer is not working for me and the rules of this forum say do not respond to answers, so I am asking again. I went through the following process on the Win 7 firewall advanced tab wizard as advised in earlier post here:

1. On the first page choose Custom for the type of rule.
2. Click Next till you get to Scope and put the ip address in the remote IP section.
3. After that click Next to Action and choose Block the connection.
4. Click next till you get to Name and give the rule a name.

I get to step 3 and enter the IP(s) to block, but each time I click "next", or "action" in the left navigation pane, I get the error "You must specify endpoints for this rule". Can't find any info on specifying endpoints in the wizard or searching google. Appreciate if anyone can tell me what I am missing. Thanks, Roger

Roger Haft

Posted 2014-07-27T05:53:22.493

Reputation: 21

1Did you choose "Inbound Rules" first in "Windows Firewall with Advanced Security" before clicking "New Rule"? (as advised in earlier post... you could link to the previous post so we know what not to recommend.) – Rik – 2014-07-27T12:11:19.537

Did you leave "Local IP" at "Any IP"? If you choose "These IP addresses" you also need to provide the local IP, otherwise just leave it at "Any IP" (for local). If this doesn't help, could you provide a screenshot of that tab (Scope)? – Rik – 2014-07-27T12:31:34.787

Yes I chose "Inbound rules" and "New Inbound Rule" and "Any" for local IP, put IP under remote IPs. I went through the process a few times yesterday with same resulting error. That said, this morning, after reading your post and starting over, to collect screen captures, it worked? I did close and re-open the firewall, no reboot, but I figure I must have been doing something wrong and just not seeing it. I am a bit embarrassed. Thanks much for your reply. - Roger – Roger Haft – 2014-07-28T00:54:34.397

Actually, now that I think about it, I may NOT have been in "Inbound Rules" before clicking "New Rule". I definitely was this morning and worked exactly as expected. Thanks again - Roger – Roger Haft – 2014-07-28T00:57:15.413

@Rik I think that's worth a "real" answer -- that's certainly what I just did incorrectly. If you'd rather not, I can slap it in as a community wiki.

– ruffin – 2017-06-05T13:11:36.063

Answers

0

From the comments I see the issue is already resolved some time ago but I will repeat the correct steps here again. I'm missing the selection of Inbound Rules in the steps. If you're not in the Inbound Rules when you're selecting New Rule..., or follow the steps below correctly, you might end up with the error You must specify endpoints for this rule.

So in the Windows Firewall with Advanced Security do the following:

  • Choose Inbound Rules at the left pane
  • Choose New Rule... at the right pane or from Actions
  • step Rule type: Choose Custom and press Next
  • step Program: Leave All programs selected and press Next
  • step Protocol and Ports: Leave protocol at Any and press Next
  • step Scope: Choose These IP addresses for Which remote IP ... (second block)
    • Press Add and type the IP to block and press OK and press Next
  • step Action: Choose Block the connection and press Next
  • step Profile: Leave all selected and press Next
  • step Name: Give the rule a meaningful name and press Finisch

Now you can close the Windows Firewall with Advanced Securityand all inbound traffic from that IP-address will be blocked.

Rik

Posted 2014-07-27T05:53:22.493

Reputation: 11 800