CloudStack v2.2.13 - 2.2.14 Root Admin API Reference

createPortForwardingRule

Creates a port forwarding rule

Request parameters

Parameter NameDescriptionRequired
ipaddressidthe IP address id of the port forwarding ruletrue
privateportthe starting port of port forwarding rule's private port rangetrue
protocolthe protocol for the port fowarding rule. Valid values are TCP or UDP.true
publicportthe starting port of port forwarding rule's public port rangetrue
virtualmachineidthe ID of the virtual machine for the port forwarding ruletrue
cidrlistthe cidr list to forward traffic fromfalse
openfirewallif true, firewall rule for source/end pubic port is automatically created; if false - firewall rule has to be created explicitely. Has value true by defaultfalse

Response Tags

Response NameDescription
idthe ID of the port forwarding rule
cidrlistthe cidr list to forward traffic from
ipaddressthe public ip address for the port forwarding rule
ipaddressidthe public ip address id for the port forwarding rule
privateendportthe ending port of port forwarding rule's private port range
privateportthe starting port of port forwarding rule's private port range
protocolthe protocol of the port forwarding rule
publicendportthe ending port of port forwarding rule's private port range
publicportthe starting port of port forwarding rule's public port range
statethe state of the rule
virtualmachinedisplaynamethe VM display name for the port forwarding rule
virtualmachineidthe VM ID for the port forwarding rule
virtualmachinenamethe VM name for the port forwarding rule