Kaspersky Endpoint Security for Linux

Deleting a network packet rule

You can manually delete a network packet rule.

You can delete only one network packet rule at a time.

To delete a network packet rule, execute one of the following commands:

  • kesl-control -F --del-rule --name <rule name>

    A network packet rule will be deleted by its name. If a list of network packet rules contains several rules with the same name, the application does not delete any of them.

  • kesl-control -F --del-rule --index <index>

    A network packet rule will be deleted by its index in the network packet rules list.

A section with network packet rules settings is deleted from the configuration file of the Firewall Management task.

If the list of network packet rules does not contain a rule with a specified name or index, an error occurs.