appliance techpreview networking firewall addr inbound: add

Add a firewall rule to allow or deny traffic from incoming IP address.


HTTP request

POST https://{server}/rest/appliance/techpreview/networking/firewall/addr/inbound

Request Body Structure:

<?xml version="1.0" ?>
<ns0:Add-Input xmlns:ns0="" xmlns:xsi="">

Request Body Parameters:

Name Type Description
bold = required
pos long Position before which to insert the rule (zero-based). If you try to insert the rule in a position whose number is greater than the number of rules, the firewall rule is inserted at the end of the list.
rule firewall_address_rule Firewall IP-based rule.
rule.address string IPv4 or IPv6 address.

rule.prefix long CIDR prefix used to mask address. For example, an IPv4 prefix of 24 ignores the low-order 8 bits of address.

rule.policy string The allow or deny policy of this rule.

Defines firewall rule policies Value is one of:
deny: Deny packet with correpsonding address.
allow: Allow packet with corresponding address.

rule.interface_name string The interface to which this rule applies. An empty string or "*" indicates that the rule applies to all interfaces.


HTTP Status Code: 200



HTTP Status Code Type Description
500 error Generic error