You can export the list of network packet rules to an XML file. Then you can modify the file to, for example, add a large number of rules of the same type. You can use the export/import function to back up the list of network packet rules or to migrate the list to a different server.
Open the Kaspersky Security Center Administration Console.
In the console tree, select Policies.
Select the necessary policy and double-click to open the policy properties.
In the policy window, select Essential Threat Protection → Firewall.
In the Firewall settings block, click the Settings button.
This opens the list of network packet rules and the list of application network rules.
Select the Network packet rules tab.
To export the list of network packet rules:
Select the rules that you want to export. To select multiple ports, use the CTRL or SHIFT keys.
If you did not select any rule, Kaspersky Endpoint Security will export all rules.
Click the Export link.
In the window that opens, specify the name of the XML file to which you want to export the list of rules, and select the folder in which you want to save this file.
Save the file.
Kaspersky Endpoint Security exports the list of rules to the XML file.
To import a list of network packet rules:
Click the Import link.
In the window that opens, select the XML file from which you want to import the list of rules.
Open the file.
If the computer already has a list of rules, Kaspersky Endpoint Security will prompt you to delete the existing list or add new entries to it from the XML file.
In the main window of the Web Console, select Devices → Policies & Profiles.
Click the name of the Kaspersky Endpoint Security policy.
The policy properties window opens.
Select the Application settings tab.
Select Essential Threat Protection → Firewall.
In the Firewall Settings block, click the Network packet rules link.
To export the list of network packet rules:
Select the rules that you want to export.
Click Export.
Confirm that you want to export only the selected rules, or export the entire list.
Save the file.
Kaspersky Endpoint Security exports the list of rules to an XML file in the default downloads folder.
To import a list of network packet rules:
Click the Import link.
In the window that opens, select the XML file from which you want to import the list of rules.
Open the file.
If the computer already has a list of rules, Kaspersky Endpoint Security will prompt you to delete the existing list or add new entries to it from the XML file.