How can I create ingress and egress rules in Windows 10 Firewall?

The firewall or firewall is one of the few tools that allow you to protect your computer from possible attacks . Windows 10 already has a default firewall where you can create inbound and outbound rules to prevent attacks over the Internet.

What is a firewall?

The firewall is a tool or application that allows you to control all network traffic . That is, it manages the data that comes in and goes out through the network connection. Its objective is to protect the security of the computer and the data it contains.

For its perfect operation it is necessary to create rules that allow controlling what type of information enters and leaves if they meet a specific parameter. If the parameters are not met when establishing a connection , the data traffic is automatically blocked .

Create ingress and egress rules in Windows 10 firewall

Enter the Control Panel and click on the System and Security option. Then select Windows Defender Firewall and to enter the rules management panel click on the Advanced settings option in the left panel.

The main panel of Windows Defender advanced options shows a summary of the three types of connection profiles which are domain profile, private profile and public profile.

Each profile has a set of rules configured by default. Regarding incoming connections, the three profiles establish that any connection that does not match a rule will be blocked . But if an outgoing connection does not match a rule it is still allowed unless it is a very specific rule.

Inbound and outbound rules

In the left pane of the advanced settings are the established inbound and outbound rules. To create an inbound or outbound rule, select the option you want.

The first thing is to define what type of rule you want to create. If you want to block an external connection to our computer, then it is necessary to configure an inbound rule. If, on the contrary, you want to enable or prevent a connection that leaves the computer to another external connection, then it is necessary to configure the outgoing rules.

By selecting the type of rules you will be able to view all the rules that are available, those that are enabled have an icon with a green check or a red prohibition icon. Now in the right panel the input or output rules options and the New rule option that we will use to create a new one.

When starting you must choose between four types of rules available . The program type rules control the connections of a program, the port rules are used to manage the connections that are enabled by a TCP or UDP port. Predefined rules allow you to handle the connections of a Windows experience , while custom rules are made based on several specific parameters.

Configure a program type rule : Choose the program to which the rule is associated or, failing that, it applies to all. Then select the type of action to execute, if it is to prohibit or allow the connection and then define for which type of profile it applies.

Configure a protocol and ports type rule : Select the type of protocol to which it applies, either UDP or TCP, and select the ports. Defines the action of the rule, if it is to allow or block a connection and which firewall profile is applied. Finally, enter the name and description of the rule.

Configure a predefined rule : You only need to choose from a list the Windows experience that the rule applies to. These rules already exist and it is usually a matter of enabling them to function.

Configure a custom rule : These are very specific rules for advanced use where you can define which program, protocol and port it applies to at the same time. It is even defined to what type of IP address the rule applies and the action that must be executed for its operation. Applies to all three types of Firewall profiles.

 

Leave a Comment