The 视窗 Firewall acts like a fence between 您r computer 和 the rest of the Internet world, keeping unwanted network traffic from coming in, and keeping apps on 您r computer from communicating with the outside world. But every fence needs a gate, 和 that’s where 例外s come in.

When 您 allow an app to communicate through the firewall, it’s called adding an “exception”. For the most part, this all happens automatically. 视窗 creates 例外s for its own system services 和 apps, 和 when 您 install a new app that wants to communicate with the outside world, 视窗 will ask 您 if it’s allowed to do so.

Sometimes, though, 您 might want to create an 例外 manually to allow an app to communicate with the Internet. Perhaps it’s a app 您 originally said no to when 视窗 asked, but now 您’ve changed 您r mind. Or maybe it’一款没有’t get configured automatically for some reason. In those cases, 您’我需要进入Windows’ firewall settings.



The 视窗 Firewall screen shows 您 how the firewall is configured for both private networks (such as 您r home or work) 和 public networks (the ones 您 connect to on 您r laptop out in the world). On the list of settings to the left, click “允许通过Windows防火墙的应用或功能”.


The next view shows 您 a list of all the apps that are already allowed to communicate, 和 over what kinds of networks (private or public). If it’s the first time 您’ve opened 视窗 Firewall, click the Change Settings button to give 您rself permissions to make changes or add new apps. You’我只需要这样做一次。要将新应用添加到列表中,请单击“Allow another app”.


在添加应用程序窗口中,浏览要允许网络访问的应用程序。单击网络类型按钮以指定是否要允许应用程序访问公用或专用网络(或两者)。当您单击添加’re done 和 that’s it. You’已允许该应用通过您的防火墙–you’它将看到它显示在允许的应用程序列表中,并且应该允许它使用与Internet或网络相关的功能。


视窗 actually provides 您 with two different interfaces for working with the firewall. The basic Settings interface we just looked at is by far the simplest way just to allow an app to communicate. Another tool, 视窗 Firewall with Advanced 安全, has a lot more options. You can use it do things like:

  • 创建规则,不仅管理应用程序的入站和出站流量,还管理通过特定端口传入的网络流量。最好的用法是将使用特定端口号的传入流量定向到选定的应用程序。
  • Direct network traffic to particular computers on 您r local network based on the app or port numbers.
  • Create connection security rules that force other computers attempting to communicate with 您rs to use different types of authentication protocols to establish their identity.
  • 监视规则和其他安全关联的使用。

It’s unlikely that 您’除非在特殊情况下,否则都需要具有高级安全性的Windows防火墙提供的任何功能。也许您使用一台计算机共享Internet连接并充当网络的主要防火墙。还是’如果您需要这些选项,了解它们是否有帮助,即使它’仅当知道在搜索两个不同的Windows防火墙应用程序时为什么会出现它们时才会显示。

Also keep in mind that most homes 和 businesses have a dedicated hardware firewall built into their router, making it even less likely 您’ll need these types of features on 您r 视窗 computer. If 您 do need to set up rules for directing traffic, 您’我可能会在路由器本身上做

沃尔特·格伦 沃尔特·格伦
沃尔特·格伦(Walter Glenn)现在 极客及其姐妹网站的编辑总监。他在计算机行业及其他行业拥有30多年的经验。 作为技术作家和编辑20年。他为《 极客》撰写了数百篇文章,并编辑了数千篇文章。他为Microsoft Press,O'Reilly和Osborne / McGraw-Hill等出版商撰写或与他人合着了十多种语言的30多种与计算机相关的书籍。多年来,他还写了数百篇白皮书,文章,用户手册和课件。