On 8/16/12 5:49 AM, "Mukesh Kumar" <m.ku...@leaseweb.com> wrote:
>Dear All, >We are trying to setup Cloudstack 3.0.2 with advance network. > >One of our business case, is to forward all the traffic (TCP/UDP), for a >IP that belongs to a network, to an instance within the same network. > >Using createPortForwardingRule API method seems good solution, but we're >not sure how to assign a port-range, as the API doesn't have something >like privateendport & publicendport. >we definitely don't want to do ~130k API calls specifying all TCP/UDP >ports separately. Port ranges are not supported in createPortForwarding rule API. > >did we overlook some way of using the network source nat address as the >static nat address for an instance? or some another solution to achieve >the same? We do have static nat support in cloudStack. Following commands need to be called * enableStaticNat&virtualMachineId=<vmId>&ipAddressId=<publicIpId> - maps vm to public ip address * createFirewallRule&ipAddressId=<publicIpId>&startPort&endPort - opens access to the public ip address for specific port range Hope this solution helps you. -Alena. > >Regards >/Mukesh > >