Previous page

Next page

Locate page in Contents

Print this page

delete

Linux Summary:

Deletes a firewall rule.

Request specification:

Name

Min/Max

Type

Description

delete

 

 

 

{

 

 

 

rule

0..[]

ruleType

Firewall rule to delete. If none specified, deletes all existing rules.

}

 

 

 

Returns:

OK/Error

Example:

Deleting a firewall rule from the specified Container. All of the parameters shown in the example must be specified.

Input

<packet version="4.0.0">

<dst>

<host>9bafbeb7-85f7-499e-a210-40e00850a5f3</host>

</dst>

<target>firewallm</target>

<data>

<firewallm>

<delete>

<rule>

<name>REJECT_MAIL1</name>

<chain>INPUT</chain>

<policy>REJECT</policy>

<allowed>1</allowed>

<protocol>tcp</protocol>

<src_addr>

<host>192.168.2.10</host>

<mask>255.255.255.0</mask>

</src_addr>

<src_ports>

<first_port>25</first_port>

</src_ports>

</rule>

</delete>

</firewallm>

</data>

</packet>

Please send us your feedback on this help page