Introduction:

Currently on the private gateway there is no way to configure the NAT rules.

With this feature we can configure the NAT rules (StaticNAT) on the VPC private gateway to redirect traffic to the VPC VMs.

Bug Reference: CLOUDSTACK-768

Design:

APIs

API Name

Parameters

Response

EnableStaticNatVpcPrivateGw

privategatewayid
virtualmachineid
guestvmip

True/False

DisableStaticNatVpcPrivateGw

privategatewayid

True/False

We need a separate set of APIs for enabling NAT on a private gateway.