Introduction
Network Address Translation (NAT) allows the source or destination IP address to be changed to enable traffic through a router or gateway.
NAT rules can only be managed with a Virtual Data Center that is provisioned with an Edge Gateway. NAT rules will be applied to the Edge Gateway not the internal VDC network. The firewall needs to be opened for a NAT rule.
Prerequisites (applicable only for DNAT rules)
To use a custom port, you must create an Application Port Profile before creating a rule.
Application Port Profiles:
There are more than 400 applications are already available, built-in to an Edge Gateway.
Click on the Virtual Data Center where there is an Edge Gateway
Select Edges from the menu to the left
Select the Edge
Go to the section named Application Port Profiles, under Security, click New
Enter the application name and description. Select the protocol and enter the required port(s).
Click on Save
Procedure
Log in to https://portal.cloudist.se
Select Virtual Data Center
Select Virtual Datacenter and click Virtual Datacenter name
In the Cloud Director interface, click on the Virtual Data Center where there is an Edge Gateway
Under the Networking section, click on Edges. Click on your Edge Gateway.
Click on IP Allocations, then locate/note your allocated IP(s)
To change the source IP address from a private/internal to a public IP address, you create a source NAT (SNAT) rule.
Select the NAT menu
In the NAT section, click New
Enter the rule name.
Optional – Enter a description.
Change the interface type to SNAT
Enter one of the available external IP addresses for the External IP field (click the exclamation mark for info on what is available)
Enter the Internal IP or range for the SNAT rule.
Open the Advanced Settings and make sure the rule is enabled
Click Save