Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

In these cases, NAT service is needed on the private GW.

Bug Reference: CLOUDSTACK-1828

Design:

Source NAT on private gateway can be enabled while adding private gateway. To enable source nat user can pass  sourcenatsupported=true

parameter to the createPrivateGateway API.  sourcenatsupported is not passed then source nat is not set on the private gateway.

It is an optional argument to API.

If  Source After enabling source NAT on private gateway interface is enabled then guest , VMs in VPC reaches to enterprise network via private gateway ip address by NATing.Source NAT private gateway can

be disabled. On disable the the guest VM traffic will not be NATed.On deletion of private gateway deletes source NAT rules specific to private gateway get deleted.

APIs

...

:

API Name

Parameters

Response

enableSourceNatOnPrivateGw

privategatewayid

True/False

disableSourceNatOnPrivateGw

privategatewayid

True/False

Existing API changes:

API Name

New parameter

Value

createPrivateGateway

sourcenatsupported(optional)

true/false

DB Changes:

Table: private_ip_addres

new column:   type           default value

source_nat     nat       boolean       0

Back end script changes:

...

The current private gateway configuration page needs a check box 'Set Source NAT' to enable/disable source NAT on private gateway

Supported hypervisors:

Xenserver

KVM

VmWare

Upgrade Changes:

No upgrade changes are needed.

To get source nat on existing private gateways, user need to delete and create with source NAT set.