Add NAT
+++ title = "Configuration NAT Gateway" draft = false +++
This guide explains the configurations that can be done on the page Configuration NAT Gateway. Make sure you have created an Expert type VPC in your project. If you have created an Expert type VPC, press the Configuration button to list the NAT Gateway created.
The NAT Gateway Configuration page displays four labels: a. Router displays the name of the router used in the NAT Gateway configuration along with the status. b. Floating IP used to add and delete floating IP configurations. c. Static Route used to add and delete static IP address configurations to determine the traffic rules that will be used. d. NAT used Add and delete NAT configurations with SNAT type or DNAT type.
Add Floating IP
Delete Floating IP
Add Static Route
Delete Static Route
Add NAT
Delete NAT
Add Floating IP
The following is a guide for adding a Floating IP that will be used on the NAT Gateway:
On the NAT Gateway Configuration page, select the Floating IP label then click Create Floating IP.
Select the network used and click Create to continue the process.
The notification "Floating IP [floating IP name] has been successfully created" appears that the Floating IP has been successfully added to the NAT Gateway.
Delete Floating IP
Before deleting the Floating IP configuration on the NAT Gateway Configuration page, make sure you have removed the Static Route configuration and NAT configuration. Here's a guide to deleting the Floating IP configuration.
Select the Floating IP label in the Action column, click the Delete button.
There is a Delete Floating IP window, press the Confirm button to continue the process of deleting the Floating IP on the NAT Gateway.
The notification "Floating IP [floating ip name] has been successfully deleted" appears that the Floating IP has been successfully deleted from the NAT Gateway.
Add Static Route
To be able to add a static route to the NAT Gateway, you must create a virtual machine in the Instance menu that uses a VPC accompanied by a NAT Gateway. Here are the steps to add Static Route on the NAT Gateway: On the NAT Gateway Configuration page, select the Static Route label then click Create Static Route.
The Create Static Route form appears, fill in all the columns available on the form.
Static Route
If all forms have been filled in, click the Create button and wait until the process is complete.
Static route is available and can be used.
Delete Static Route
Here's a guide to deleting static routes:
On the NAT Gateway Configuration page, on the Static Route label in the Action column, click the Delete button.
A notification appears, click Confirm to continue the process and wait until the process is complete and the static route configuration is deleted.
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 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:
a. 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
b. 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.
DNAT
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.
Delete NAT
The following is a guide to removing the NAT configuration in the Cloudeka portal service;
Select the NAT label in the Action column, click Delete and wait until the process is complete.
Press the Confirm button to continue the process of deleting the NAT configuration.
A notification appears NAT [name of nat] has been successfully deleted.
← Create NAT GatewayRemote Instance →