Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What is the best way to prevent my Windows computer to access certain IPs?

So far, I did it by adding this kind of lines to my hosts file:

127.0.0.1       219.141.147.70

However that doesn't seem like a clean solution since instead of going to 219.141.147.70, the computer connects to 127.0.0.1. Is there any way to completely block 219.141.147.70 so that when the computer tries to connect to it, the connection is really blocked?

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

You can block that ip on Windows Firewall Advanced Settings

Create a new outgoing rule and choose block all

I can't take screenshot now but you can read details in technet page : http://technet.microsoft.com/en-us/library/ff602926%28WS.10%29.aspx on "Configuring a profile" section.

share|improve this answer
add comment

I think the best way is to configure the machine's firewall to prevent those access.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.