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?
AACatesAsked:
Who is Participating?
 
Gabriel CliftonConnect With a Mentor Net AdminCommented:
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.
0
 
csg-unitCommented:
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.
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
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.
0
 
csg-unitCommented:
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.
0
 
AACatesAuthor Commented:
Thanks. Quick answer. :)
0
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.

All Courses

From novice to tech pro — start learning today.