我尝试了SphinxSoftware的免费版本的" Windows 7防火墙控制" ，它允许您单独阻止访问每个程序的流量，但是我没有仍然可以看到迅速阻止所有流量，除非阻止一个程序，它也不允许您快速完成后，取消阻止所有其他程序的流量。
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.
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:
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.