Windows 防火墙(Windows Firewall)是一个应用程序,可用作您的 PC 的过滤器。它扫描进入您系统的网站中的信息,并可能阻止输入其中的有害详细信息。有时您可能会发现某些程序无法加载,最终您会发现该程序已被防火墙(Firewall)阻止。同样,您可能会在您的设备上发现一些可疑程序,并且您担心它们可能会对设备造成损害,在这种情况下,建议在Windows Defender 防火墙(Windows Defender Firewall)中阻止这些程序。如果您不知道该怎么做,这里是有关如何在 Windows Defender 防火墙中阻止或取消阻止程序(how to block or unblock programs in Windows Defender Firewall)的指南。
如何阻止或取消阻止 Windows Defender 防火墙中的程序(How to Block or Unblock Programs In Windows Defender Firewall)
防火墙如何工作?
每个公司都使用三种基本类型的防火墙来维护其数据安全。首先(First),他们使用它来使他们的设备远离网络的破坏性元素。
1.数据包过滤器:(1. Packet Filters:)数据包过滤器分析传入和传出的数据包并相应地控制它们的互联网访问。它通过将数据包的属性与 IP 地址、端口号等预定标准进行比较来允许或阻止数据包。它最适合整个过程都在数据包过滤方法下的小型网络。但是,当网络广泛时,这种技术就会变得复杂。必须注意的是,这种防火墙方法(firewall method)并不适合阻止所有的攻击。它无法解决应用层(application layer)问题和欺骗攻击。
2. 状态检查:(2. Stateful Inspection:)状态检查保留了强大的防火墙架构,可用于以端到端方式检查流量流。这种防火墙保护(firewall protection)也称为动态数据包过滤(packet filtering)。这些超快速防火墙分析数据包标头并检查数据包状态(packet state),从而提供代理服务来抵御未经授权的流量。它们比数据包过滤器更安全,并且被用于OSI 模型(OSI model)的网络层(network layer)。
3. 代理服务器防火墙:(3. Proxy Server Firewalls:)它们通过过滤应用层(application layer)的消息来提供出色的网络安全性(network security)。
当您了解Windows Defender 防火墙(Windows Defender Firewall)的作用时,您将获得有关阻止和取消阻止程序的答案。它可以防止某些程序连接到Internet。但是,如果程序似乎可疑或不必要,它将不允许访问网络。
新安装的应用程序将触发一个提示,询问您是否将该应用程序作为Windows 防火墙(Windows Firewall)的例外引入。
如果单击“是”(Yes),则安装的应用程序属于Windows 防火墙(Windows Firewall)例外。如果您单击“否” ,那么每当您的系统扫描(No)Internet上的可疑内容时,Windows 防火墙(Windows Firewall)都会阻止应用程序连接到Internet。
如何允许程序(Program)通过Windows Defender 防火墙(Windows Defender Firewall)
1. 在搜索菜单(Search Menu)中键入防火墙,然后单击 Windows Defender 防火墙(Windows Defender Firewall)。
2. 单击左侧菜单中的允许应用程序或功能通过 Windows Defender 防火墙。(Allow an app or feature through Windows Defender Firewall )
3. 现在,单击更改设置(Change settings)按钮。
4. 如果列表中不存在您想要的应用程序或程序(application or program),您可以使用允许其他应用程序...按钮浏览您的程序。(Allow another app… button )
5. 一旦您选择了所需的应用程序,请确保在“ Private ”和“ Public ”下打勾。
6. 最后,单击确定。(OK.)
允许程序或功能(program or feature)比通过Windows 防火墙阻止(Windows Firewall)应用程序或部分(application or part)更容易。如果您想知道如何通过Windows 10防火墙(Firewall)允许或阻止程序,请按照以下步骤操作。
使用 Windows 防火墙将应用程序或程序列入白名单(Whitelisting Apps or Programs with the Windows Firewall)
1. 单击 开始(Start),在搜索栏中 输入 防火墙(firewall ),然后从搜索结果中 选择Windows 防火墙。(Windows Firewall )
2. 导航到允许程序或功能通过 Windows 防火墙 (Allow a program or feature through Windows Firewall )(或者,如果您使用 Windows 10,请单击 允许应用程序或功能通过 Windows 防火墙(Allow an app or feature through Windows Firewall))。
3. 现在,单击更改设置(Change settings)按钮并tick/untick应用程序或程序名称(application or program name)旁边的框。
如果您想在您的家庭或商业环境中访问(home or business environment)Internet ,请选中Private列。如果您想在酒店或咖啡店等公共场所访问(coffee shop)互联网(Internet),请勾选公共(Public)栏以通过热点网络(hotspot network)或 Wi-Fi 连接进行连接。
如何在Windows 防火墙中阻止所有(Windows Firewall)传入程序(Incoming Programs)
如果您处理高度安全的信息或事务性业务活动(business activity),阻止所有传入程序是最安全的选择。在这些情况下,最好阻止所有传入的程序进入您的计算机。这包括您的连接白名单(Whitelist )中允许的程序。 因此(Hence),学习如何阻止防火墙程序(firewall program)将帮助每个人维护他们的数据完整性和数据安全(integrity and data security)。
1. 按Windows Key + S调出搜索,然后 在搜索栏中 输入防火墙(firewall ),然后从搜索结果中 选择Windows 防火墙。(Windows Firewall )
2. 现在去自定义设置(Customise Settings)。
3. 在 公共网络(Public network)设置下,选择阻止所有传入连接,包括允许程序列表中的连接(Block all incoming connections, including those in the list of allowed programs),然后 选择确定(OK)。
完成后,此功能仍然允许您发送和接收电子邮件,甚至可以浏览互联网(Internet),但防火墙会自动阻止其他连接。
另请阅读:(Also Read:) 修复(Fix Windows Firewall)Windows 10中的 Windows 防火墙问题
如何在 Windows 防火墙中阻止(Windows Firewall)程序(Program)
现在让我们看看使用Windows 防火墙(Windows Firewall)阻止应用程序利用网络的最佳方法。尽管您需要您的应用程序可以免费进入网络,但在多种情况下您可能希望阻止应用程序访问网络。让我们研究如何阻止应用程序访问本地网络和 Internet(network and Internet)。本文说明了如何在防火墙上阻止程序:
在 Windows Defender 防火墙中阻止程序的步骤(Steps to Block a Program in Windows Defender Firewall)
1. 按Windows Key + S调出搜索,然后 在搜索栏中 输入防火墙(firewall ),然后从搜索结果中 选择Windows 防火墙。(Windows Firewall )
2. 单击左侧菜单中的高级设置(Advanced settings)。
3. 在导航面板(navigation panel)的左侧,单击出站规则(Outbound Rules )选项。
4. 现在从最右侧的菜单中,单击操作下的新规则(New Rule)。
5. 在New Outbound Rule Wizard中,注意程序(Program)已启用,点击下一步(Next )按钮。
6. 接下来在“程序”屏幕上(Program screen),选择“此程序路径(This program path)”选项,然后单击“浏览”(Browse) 按钮并导航(button and navigate)到要阻止的程序的路径。
注意:(Note:)在本例中,我们将阻止Firefox访问Internet。您可以选择要阻止的任何程序。
7.进行上述更改后确定文件路径后,您最终可以单击“(file path)下一步”(Next)按钮。
8.将显示动作画面。(Action)单击(Click)阻止连接(Block the connection),然后单击下一步(Next)继续。
9.配置文件屏幕(Profile screen)上将显示几条规则,您必须选择适用的规则。下面解释三个选项:
-
域:(Domain:) 当您的计算机连接到公司域时,此规则适用。
-
专用:(Private:)当您的计算机连接到家中或任何商业环境(business environment)中的任何专用网络时,此规则适用。
-
公共:(Public:) 当您的计算机连接到酒店或任何公共环境中的任何公共网络时,此规则适用。
例如,当您连接到咖啡店(coffee shop)(公共环境)中的网络时,您必须选中Public 选项(Public option)。当您连接到家庭/商业场所(私人环境)中的网络时,您必须选中Private 选项(Private option)。当您不确定您使用的网络时,请选中所有复选框,这将阻止应用程序连接到所有网络(check all the boxes, this will block the application from being connected to all the networks);选择所需网络后,单击下一步。(Next.)
10. 最后但同样重要的是,为你的规则命名。我们建议您使用唯一的名称,以便您以后可以调用它。完成后,单击完成(Finish )按钮。
您将看到新规则已添加到Outbound Rules的顶部。如果您的主要动机只是全面封锁(blanket blocking),那么程序到此结束。如果您需要完善已制定的规则,请双击该条目并进行所需的调整。
推荐的:(Recommended:)
- 如何在您的计算机(Your Computer)、电话(Phone)或网络上阻止任何网站(Any Website)
- 修复无法(Fix Unable)激活Windows Defender 防火墙(Activate Windows Defender Firewall)
- Windows 10提示(Tip):如何阻止 Internet 访问(Block Internet Access)
- 修复 Microsoft Teams 不断(Fix Microsoft Teams Keeps)重启
我们希望本指南对您有所帮助,并且您能够阻止或取消阻止 Windows Defender 防火墙中的程序( block or unblock programs in Windows Defender Firewall)。如果您对本文有任何疑问/评论,请随时将它们放在评论部分。
How to Block or Unblock Programs In Windows Defender Firewall
Windows Firewall is an applicatiоn that аctѕ as a filter for your PC. It scans the information in the website comіng to your system and potentially blocks the harmful details being entered into it. Sometimes you might find some programs that won’t load and eventually you find oυt that the program is blocked by Firewall. Similаrly, you might find some sυspicious progrаms on your device and you’re worrіed that they might cause harm to the deviсe, іn such cases, it is advised to block the programs in Windows Defender Firewall. If you have no idea how to do it, here is a guide on how to block or unblock programs in Windows Defender Firewall.
How to Block or Unblock Programs In Windows Defender Firewall
How does a Firewall work?
There are three basic types of firewalls that every company uses to maintain its data security. First, they use this to keep their devices out of destructive elements of the network.
1. Packet Filters: Packet filters analyze the incoming and outgoing packets and control their internet access accordingly. It either allows or blocks the packet by comparing its properties with pre-determined criteria like IP addresses, port numbers, etc. It is best suited for small networks where the entire process comes under the packet filtering method. But, when the network is extensive, then this technique becomes complicated. It must be noted that this firewall method is not suited to prevent all the attacks. It cannot tackle application layer issues and spoofing attacks.
2. Stateful Inspection: Stateful inspection withholds robust firewall architecture that can be used to examine traffic streams in an end-to-end manner. This type of firewall protection is also called dynamic packet filtering. These super-fast firewalls analyze the packet headers and inspect the packet state, thereby providing proxy services to ward off unauthorized traffic. These are more secure than packet filters and are employed in the network layer of the OSI model.
3. Proxy Server Firewalls: They provide excellent network security by filtering the messages at the application layer.
You will get an answer for blocking and unblocking programs when you know about the role of the Windows Defender Firewall. It can prevent some programs from being connected to the Internet. However, it won’t allow access to a network if a program seems to be suspicious or unnecessary.
A newly installed application will trigger a prompt that asks you whether the application be brought as an exception to Windows Firewall or not.
If you click Yes, then the installed application is under an exception to Windows Firewall. If you click No, then whenever your system scans for suspicious content on the Internet, the Windows Firewall blocks the application from connecting to the Internet.
How to Allow a Program Through Windows Defender Firewall
1. Type firewall in the Search Menu then click on Windows Defender Firewall.
2. Click on the Allow an app or feature through Windows Defender Firewall from the left hand menu.
3. Now, click on the Change settings button.
4. You can use Allow another app… button to browse your program if your desired application or program does not exist in the list.
5. Once you have selected the desired application, make sure to checkmark under “Private” and “Public“.
6. Finally, click OK.
It is easier to allow the program or feature rather than blocking the application or part by Windows Firewall. If you’re wondering how to allow or block a program through Windows 10 Firewall, following these steps will help you do the same.
Whitelisting Apps or Programs with the Windows Firewall
1. Click Start, type firewall in the search bar, and select Windows Firewall from the search result.
2. Navigate to Allow a program or feature through Windows Firewall (or, if you use Windows 10, click Allow an app or feature through Windows Firewall).
3. Now, click on the Change settings button and tick/untick the boxes next to the application or program name.
If you want to access the Internet on your home or business environment, checkmark the Private column. If you wish to access the Internet in a public place like a hotel or a coffee shop, checkmark the Public column to connect it via a hotspot network or a Wi-Fi connection.
How to Block All Incoming Programs in Windows Firewall
Blocking all incoming programs is the safest option if you deal with highly secured information or transactional business activity. In these situations, it is preferred to block all the incoming programs entering your computer. This includes the programs that are allowed in your Whitelist of connections. Hence, learning how to block a firewall program will help everyone maintain their data integrity and data security.
1. Press Windows Key + S to bring up search then type firewall in the search bar, and select Windows Firewall from the search result.
2. Now go to Customise Settings.
3. Under Public network settings, select Block all incoming connections, including those in the list of allowed programs, then OK.
Once done, this feature still allows you to send and receive an email, and you can even browse the Internet, but other connections will be blocked automatically by the firewall.
Also Read: Fix Windows Firewall problems in Windows 10
How to Block a Program in Windows Firewall
Now let’s see the best way to block an application from utilizing the network using the Windows Firewall. Even though you need your applications to have free admittance to the network, there are a variety of circumstances where you may wish to keep an application from getting access to the network. Let’s investigate how to obstruct an application from getting to the local network and Internet. This article illustrates how to block a program on a firewall:
Steps to Block a Program in Windows Defender Firewall
1. Press Windows Key + S to bring up search then type firewall in the search bar, and select Windows Firewall from the search result.
2. Click on the Advanced settings from the left menu.
3. To the left of the navigation panel, click on the Outbound Rules option.
4. Now from the far right menu, click on New Rule under Actions.
5. In the New Outbound Rule Wizard, note the Program is enabled, tap the Next button.
6. Next on the Program screen, select the This program path option, then click on the Browse button and navigate to the path of the program you want to block.
Note: In this example, we are going to block Firefox from accessing the Internet. You can choose any program you wish to block.
7. Once you are sure about the file path after making the changes mentioned above, you can finally click the Next button.
8. Action screen will be displayed. Click on Block the connection and proceed by clicking Next.
9. Several rules will be displayed on the Profile screen, and you have to select the rules that apply. Three options are explained below:
-
Domain: When your computer is connected to a corporate domain, this rule applies.
-
Private: When your computer is connected to any private network at home or in any business environment, this rule applies.
-
Public: When your computer is connected to any public network in a hotel or any public environment, this rule applies.
For example, when you are connected to a network in a coffee shop (public environment), you have to check the Public option. When you are connected to a network in a home/business place (private environment), you have to check the Private option. When you are unsure of what network you use, check all the boxes, this will block the application from being connected to all the networks; after selecting your desired network, click Next.
10. Last but not least, give a name to your rule. We suggest that you use a unique name so that you can recall it later. Once done, click the Finish button.
You will see that the new rule is added to the top of Outbound Rules. If your primary motivation is just blanket blocking, then the procedure ends here. If you need to refine the rule you have developed, double-click on the entry and make the desired adjustments.
Recommended:
We hope that this guide was helpful and you were able to block or unblock programs in Windows Defender Firewall. If you have any queries/comments regarding this article, then feel free to drop them in the comments section.