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 Firewall program (preferably free) can I use to quickly enable/disable internet traffic so that it only goes to one program?

For example, sometimes I need only one program (Program X) to be using the internet unhindered, so I would need to block all incoming/outgoing traffic except for that one program, that way Program X gets 100% use of the traffic.

I've tried the free version of "Windows 7 Firewall Control" by SphinxSoftware and it allows you to individually block traffic to each program, but I don't see anyway to quickly block all traffic except to one program, nor does it allow you to quickly unblock the traffic to all other programs once your done.

Any ideas?

share|improve this question
add comment

1 Answer

Open Windows Firewall with Advanced Security. Click "Export Policy" and save your current settings somewhere. Then delete every rule.

Make two inbound and outbound rules that follow this sequence:

  • Click "New Rule..."
  • Select "Custom" as the rule type
  • The rule applies to all programs
  • Protocol type: Any
  • Applies to all IP addresses
  • Block the connection
  • Applies everywhere
  • Call it "Block Everything" or something
  • Click "Finish"

Everything should now be blocked. Then, just create new rules (inbound and outbound) that allow your specific program through. (Hopefully said program doesn't need DNS, because that's something separate - still looking, but if it connects directly to certain IP addresses, then you're fine.)

Also export this policy to a file. When you want to switch, just import the other file - it will automatically erase the current policy.

share|improve this answer
    
Thanks, but that's not working. I was able to disable ALL incoming/outgoing connection following your steps (which worked), but then creating a new rule to grant access to just that program did not work as it was still blocked. You can try it yourself, and create the rule for your Browser, and the browser still won't work. Any ideas? Thanks. –  ProgrammerGirl Apr 29 '12 at 15:46
    
@Programmer: Nope, like I said, still working on it :) –  minitech Apr 29 '12 at 15:48
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.