For some reason I'm having some site pestering my LogMeIn account with a bad login. It is consistently the same IP. Rather than relying upon LogMeIn's rudimentary login security I'd rather entirely block that IP entirely. How do I do that using Windows Firewall?

2 Answers 2


Open Windows Firewall with Advanced Security by running wf.msc. On the left, select Inbound Rules, then under the Action menu, choose New Rule.

  • On the Rule Type page, choose Custom.
  • On Program, choose "All programs."
  • On Protocol and Ports, leave the default of Any.
  • On Scope, select "These IP addresses" in the remote addresses section and add the problematic IP address in the Add dialog.
  • On Action, choose "Block the connection."
  • On Profile, leave the defaults of everything checked.
  • Finally, on Name, give the rule a name and optionally a description.
  • where is protocol qnd ports?
    – greenber
    Dec 22, 2016 at 21:21
  • @greenber It's one of the steps in the New Inbound Rule Wizard that appears once you select Custom on the first (Rule Type) page.
    – Ben N
    Dec 22, 2016 at 21:22
  • thank you!! between the both of you it works like a champ!
    – greenber
    Dec 23, 2016 at 21:56

I found the steps given in the correct answer work today, once again thanks. But not intuitive to follow in the Microsoft firewall wizard. Another more scaleable but still not intuitive way, is to use an elevated powershell console.

New-NetFirewallRule -RemoteAddress -DisplayName "Block Remote 100.42" -Direction inbound -Profile Any -Action Block

You must log in to answer this question.

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