Page cover image

Add NAT

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:

  1. 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:

SNAT Type
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.

  1. 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.

Tipe DNAT
Column
Description

Protocol

The types of protocols used in data packets are:

  1. TCP (Transmission Control Protocol)

  2. UDP (User Datagram Protocol)

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.

Add NAT
  • Select the type of NAT configuration to use.

Add NAT
  • Select the Floating IP address previously created.

Add NAT
  • In the Translation Address column, select the instance that will use the NAT configuration.

Add NAT
  • Fill in the description column, and press the Create button and wait until the process is complete.

Add NAT
  • A notification appears "NAT [NAT name] has been successfully created" that the NAT has been successfully created.

Add NAT

Last updated