createPortForwardingRule

Creates a port forwarding rule

Request Parameters

Parameter Name Description Required
ipaddressid the IP address id of the port forwarding rule true
privateport the starting port of port forwarding rule's private port range true
protocol the protocol for the port fowarding rule. Valid values are TCP or UDP. true
publicport the starting port of port forwarding rule's public port range true
virtualmachineid the ID of the virtual machine for the port forwarding rule true
cidrlist the cidr list to forward traffic from false
openfirewall if true, firewall rule for source/end pubic port is automatically created; if false - firewall rule has to be created explicitely. Has value true by default false
privateendport the ending port of port forwarding rule's private port range false
publicendport the ending port of port forwarding rule's private port range false

Response Tags

Response Name Description
id the ID of the port forwarding rule
cidrlist the cidr list to forward traffic from
ipaddress the public ip address for the port forwarding rule
ipaddressid the public ip address id for the port forwarding rule
privateendport the ending port of port forwarding rule's private port range
privateport the starting port of port forwarding rule's private port range
protocol the protocol of the port forwarding rule
publicendport the ending port of port forwarding rule's private port range
publicport the starting port of port forwarding rule's public port range
state the state of the rule
virtualmachinedisplayname the VM display name for the port forwarding rule
virtualmachineid the VM ID for the port forwarding rule
virtualmachinename the VM name for the port forwarding rule
Related Pages: listNetworks, restartNetwork, updateNetwork, associateIpAddress, disassociateIpAddress, listPublicIpAddresses, createLoadBalancerRule, deleteLoadBalancerRule, removeFromLoadBalancerRule, assignToLoadBalancerRule, listLoadBalancerRules, listLoadBalancerRuleInstances, updateLoadBalancerRule, listPortForwardingRules, deletePortForwardingRule, createFirewallRule, deleteFirewallRule, listFirewallRules, createRemoteAccessVpn, deleteRemoteAccessVpn, listRemoteAccessVpns, enableStaticNat, createIpForwardingRule, deleteIpForwardingRule, listIpForwardingRules, disableStaticNat, extractVolume, listZones, login, logout, listAccounts, queryAsyncJobResult, listAsyncJobs, listServiceOfferings, listDiskOfferings, registerSSHKeyPair, createSSHKeyPair, deleteSSHKeyPair, listSSHKeyPairs, listVirtualMachines, destroyVirtualMachine, rebootVirtualMachine, stopVirtualMachine, resetPasswordForVirtualMachine, changeServiceForVirtualMachine, updateVirtualMachine, getVMPassword, deployVirtualMachine, startVirtualMachine, listSnapshots, listSnapshotPolicies, deleteSnapshot, createSnapshot, createSnapshotPolicy, deleteSnapshotPolicies, listTemplates, createTemplate, registerTemplate, updateTemplate, copyTemplate, deleteTemplate, updateTemplatePermissions, listTemplatePermissions, extractTemplate, listSecurityGroups, createSecurityGroup, deleteSecurityGroup, authorizeSecurityGroupIngress, revokeSecurityGroupIngress, listVolumes, createVolume, attachVolume, detachVolume, deleteVolume, listNetworkOfferings, createNetwork, deleteNetwork, listTags, createTags, deleteTags