Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Like iptables or ipfw?

I've tried wipfw but it doesn't work on windows 7 (at least not for me).

share|improve this question
Pretty much any firewall lets you do this, from my experience. – Sasha Chedygov Aug 4 '10 at 8:04
up vote 3 down vote accepted

Depends how complicated you're intending to make these rules, but I've found the built in Windows 7 firewall to be sufficent.

Just make sure you are accessing the "Advanced Security" version and you can set port blocking / program blocking / etc, both for in- and out-bound connections.

I think you'll find in under:
Start -> Control Panel -> Administrative Tools -> Windows Firewall with Advanced Security
Or possibly by sticking wf.msc in to the run box.

share|improve this answer
Ah that might be what I need, I'll check it out – glisignoli Aug 4 '10 at 8:03
Wow that does exactly what I want, except I have about 200 ip addresses I need to add, hopefully there is some way to import these? – glisignoli Aug 4 '10 at 8:06
Nevermind!… Awesome! – glisignoli Aug 4 '10 at 8:08

You can use fireBwall, which I develop.

It allows you to write your own modules for filtering packets in C#, allowing for the firewall to do exactly what you want it to do.

share|improve this answer

Yes there is. It's called Comodo Firewall. The settings are really straight forward and easy to use and plus its free :)

share|improve this answer

You must log in to answer this question.

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