When creating network packet rules, remember that they have priority over network rules for applications.
To create or edit a network packet rule:
In the main application window, click the Settings button.
In the application settings window, select Essential Threat Protection → Firewall.
Click the Network packet rules button.
The Firewall window opens to the Network packet rules tab.
This tab shows a list of default network packet rules that are set by Firewall.
Do one of the following:
To create a new network packet rule, click the Add button.
To edit a network packet rule, select it in the list of network packet rules and click the Edit button.
The Network rule window opens.
In the Action drop-down list, select the action to be performed by Firewall on detecting this kind of network activity:
Allow
Block
By application rules.
In the Name field, specify the name of the network service in one of the following ways:
Click the icon to the right of the Name field and select the name of the network service in the drop-down list.
The drop-down list includes network services that define the most frequently used network connections.
Manually enter the name of the network service in the Name field.
Specify the data transfer protocol:
Select the Protocol check box.
In the drop-down list, select the type of protocol for which network activity is to be monitored.
Firewall monitors network connections that use the TCP, UDP, ICMP, ICMPv6, IGMP, and GRE protocols. If you select a network service from the Name drop-down list, the Protocol check box is selected automatically and the drop-down list next to the check box contains the protocol type that corresponds to the selected network service. By default, the Protocol check box is cleared.
In the Direction drop-down list, select the direction of the monitored network activity.
Firewall monitors network connections with the following directions:
Inbound (packet).
Inbound.
Inbound / Outbound
Outbound (packet).
Outbound.
If ICMP or ICMPv6 is selected as the protocol, you can specify the ICMP packet type and code:
Select the ICMP type check box and select the ICMP packet type in the drop-down list.
Select the ICMP code check box and select the ICMP packet code in the drop-down list.
If TCP or UDP is selected as the protocol type, you can specify the comma-delimited port numbers of the local and remote computers between which the connection is to be monitored:
Type the ports of the remote computer in the Remote ports field.
Type the ports of the local computer in the Local ports field.
In the Network adapters table, specify the settings of network adapters from which network packets can be sent or which can receive network packets. To do so, use the Add, Edit, and Delete buttons.
If you want to restrict control of network packets based on their time to live (TTL), select the Time to live (TTL) check box and in the field next to it, specify the range of values of the time to live for inbound and/or outbound network packets.
A network rule will control the transmission of network packets whose time to live does not exceed the specified value.
Otherwise, clear the Time to live (TTL) check box.
Specify the network addresses of remote computers that can send and/or receive network packets. To do so, select one of the following values in the Remote addresses drop-down list:
Any address. The network rule controls network packets sent and/or received by remote computers with any IP address.
Subnet addresses. The network rule controls network packets sent and/or received by remote computers with IP addresses associated with the selected network type: Trusted networks, Local networks, or Public networks.
Addresses from the list. The network rule controls network packets sent and/or received by remote computers with IP addresses that can be specified in the list below using the Add, Edit, and Delete buttons.
Specify the network addresses of computers that have Kaspersky Endpoint Security installed and can send and/or receive network packets. To do so, select one of the following values in the Local addresses drop-down list:
Any address. The network rule controls network packets sent and/or received by computers with Kaspersky Endpoint Security installed and with any IP address.
Addresses from the list. The network rule controls network packets sent and/or received by computers with Kaspersky Endpoint Security installed and with IP addresses that can be specified in the list below using the Add, Edit, and Delete buttons.
Sometimes a local address cannot be obtained for applications that work with network packets. If this is the case, the value of the Local addresses setting is ignored.
If you want the actions of the network rule to be reflected in the report, select the Log events check box.
In the Network rule window, click OK.
If you create a new network rule, the rule is displayed on the Network packet rules tab of the Firewall window. By default, the new network rule is placed at the end of the list of network packet rules.