CloudStack v2.2.13 - 2.2.14 User API Reference
createFirewallRule
Creates a firewall rule for a given ip address
Request parameters
Parameter Name | Description | Required |
protocol | the protocol for the firewall rule. Valid values are TCP/UDP/ICMP. | true |
cidrlist | the cidr list to forward traffic from | false |
endport | the ending port of firewall rule | false |
icmpcode | error code for this icmp message | false |
icmptype | type of the icmp message being sent | false |
ipaddressid | the IP address id of the port forwarding rule | false |
startport | the starting port of firewall rule | false |
type | type of firewallrule: system/user | false |
Response Tags
Response Name | Description |
id | the ID of the firewall rule |
cidrlist | the cidr list to forward traffic from |
endport | the ending port of firewall rule's port range |
icmpcode | error code for this icmp message |
icmptype | type of the icmp message being sent |
ipaddress | the public ip address for the port forwarding rule |
ipaddressid | the public ip address id for the port forwarding rule |
protocol | the protocol of the firewall rule |
startport | the starting port of firewall rule's port range |
state | the state of the rule |