createFirewallRule

Creates a firewall rule for a given ip address

Request Parameters

Parameter Name Description Required
ipaddressid the IP address id of the port forwarding rule true
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
startport the starting port of firewall rule 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
Related Pages: listNetworks, restartNetwork, updateNetwork, associateIpAddress, disassociateIpAddress, listPublicIpAddresses, createLoadBalancerRule, deleteLoadBalancerRule, removeFromLoadBalancerRule, assignToLoadBalancerRule, listLoadBalancerRules, listLoadBalancerRuleInstances, updateLoadBalancerRule, listPortForwardingRules, createPortForwardingRule, deletePortForwardingRule, 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