• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 516
  • Last Modified:

Is it possible to block specific IP addresses with Vista's Firewall?

I am finding that someone in Iran is constantly attempting to log into my computer. I need to use Remote Desktop. So, I am looking for a way to block specific addresses. Can that be done with the Windows Firewall?
1 Solution
You can't block specific IP addresses in Windows Firewall, however, if you have a hardware firewall between your ISP and your network, it may have options to do that.
QlemoBatchelor and DeveloperCommented:
Of course you can set up Windows Firewall to block traffic from specific IPs. Just create a custom rule to do so, and you'll be able to provide remote IPs being allowed or denied. Or follow http://forums.iis.net/t/1154397.aspx/1 to modify the RDP rule.
Take a look at that link again.  It is showing you how to ALLOW specific IPs, not BLOCK IPs.  This would limit his ability to RDP to his computer from wherever he happens to be.

Not quite what he is asking for.  I would check your hardware firewall for this option.
Gabriel CliftonCommented:
Click Start and type MMC then select the MMC from the list.
Click File -> Add/Remove Snap-In -> Add the IP Security Policy Snap-In and Click Ok
Right Click on the middle section and click "Create IP Security Policy"
Follow through the first wizard with the defaults giving the name/description you want.
With the Windows that opens after the first wizard click "Add..."
Click "Next" x3 and then click "Add..."
Give the name of "Block All" or something similar. Click "Add..."
Run through that wizard keeping all the defaults and click "OK"
Select "Block All" and click "Next" and then "Add..." again
Follow the wizard giving the name of "Block" and select "Block" as the action.
Repeat Steps 5-10 selecting the proper source/destination/protocol and selecting "Permit" in Step 10.
AACatesAuthor Commented:
Thanks. Quick answer. :)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now