Adding network packet rule

You can manually add a network packet rule.

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

To add a network packet rule, execute the following command:

kesl-control -F --add-rule --name <rule name> --action <action> --protocol <protocol> --direction <direction> --remote <remote address> --local <local address> --at <index in a list of network packet rules>

A section containing new network packet rule settings is added to the Firewall Manager task configuration file. If you did not specify a certain parameter in the command, the default value is set.

The –at option lets you specify the index of the rule being created, in the list of network packet rules. If the –at option is not specified, or its value is larger than the number of rules in the list, the new rule is added into the end of the list.

Page top