Add NAT
Last updated
Last updated
In order to add NAT to the NAT Gateway, make sure you have added a Floating IP which can be seen in the sub-chapter 22.2.1 Add Floating IP. There are two types of adding NAT, namely SNAT and DNAT. The following is a brief explanation of the SNAT and DNAT types:
SNAT (Source Network Address Translation) used to change the source IP address in a data packet that is passing, usually used when a data packet leaves the internal network to the internet network. If you choose the SNAT type, fill in the Create NAT form fields:
Column | Description |
---|---|
Destination Address | The IP address that will be the destination. |
Translation Address | Changing the source IP address of data packets as they pass through the router so that data packets can pass through the network easily and safely. |
Description | Explanation of the SNAT type configuration to be created. |
DNAT (Destination Network Address Translation) used to change the destination IP address to the data packet that is passing, usually used when data packets enter the internal network of the internet network. JIf you choose the DNAT type then the Create NAT form column is filled in.
Column | Description |
---|---|
Protocol | The types of protocols used in data packets are:
|
Translation Port | Ports commonly used on the selected protocol. |
Destination Port | The port used to alias the port used in the Translation Port. |
Destination Address | IP address taken from Floating IP. |
Translation Address | The IP address or Instance that will use the created DNAT configuration |
Description | Explanation of NAT configuration. |
Here's a guide to adding NAT to a NAT Gateway:
Select the NAT label then press the Create NAT button.
Select the type of NAT configuration to use.
Select the Floating IP address previously created.
In the Translation Address column, select the instance that will use the NAT configuration.
Fill in the description column, and press the Create button and wait until the process is complete.
A notification appears "NAT [NAT name] has been successfully created" that the NAT has been successfully created.