СHRISTMAS
WHEEL OF FORTUNE

Tap the button and win a guaranteed prize right now!

By registering, you are signing up to receiving e-mails.
WB
William Bell
May 1 2020
Updated June 7 2023

Configuring NAT in the control panel

Control panel Networks

Description of the NAT configuration procedure for routed networks in the control panel.

What is NAT?

Network Address Translation (NAT) is the procedure for changing IP addresses and ports in the IP packet header. The most common use of NAT is to replace the IP address of the internal network with an external IP address, e.g. of a router. When other computers on the Internet try to access computers on the local network, they only see the address of the router. This adds an additional layer of security because the router can be configured as a firewall, allowing only authorized systems to access computers on the local network.

The main purpose of creating NAT is to overcome the lack of IPv4 addresses. Our infrastructure uses One-to-Many NAT, i.e. one router's external IP address is displayed for multiple local addresses. This is where you can connect large networks to the Internet using only one external IP address.

Creation of rules

First, you need to create a routed network in the control panel and connect virtual servers to it. Only servers from the same data center can be connected to the same network.

Open the NAT tab, when the network is configured. Click the Add button:

Screenshot 1: creation of NAT rules

The user can create two types of rules: SNAT or DNAT.

SNAT

SNAT (Source) changes the source IP address of the network packet with the data to another IP address.

Use case: masking and concealing local (private) IP addresses of devices to increase privacy and security.

When creating a type rule in the NAT Type drop-down list, select SNAT and fill in the following fields:

  • Description is a user-friendly name;
  • OriginalIp is a local (private) server address (will be converted);
  • TranslatedIp is an external address of the router in the network; this value is entered automatically and cannot be changed.

You can use the Enable check mark to enable or disable a rule:

Screenshot 2: Adding NAT rules

DNAT

DNAT (Destination) is used to convert the target IP address of a network packet into a different IP address.

Use case: masking internal IP addresses and replacing them with other IP addresses.

When creating a type rule in the NAT Type drop-down list, select DNAT and fill in the following fields:

  • Description is a user-friendly name;
  • OriginalIp is an external address of the router in the network; this value is entered automatically and cannot be changed;
  • TranslatedIp is a local (private) server address (will be converted);
  • Protocol — select the required protocol from the available list of protocols;
  • OriginalPort is the port of the router which receives data packets;
  • TranslatedPort — is a port of the local server to be changed.

You can use the Enable check mark to enable or disable a rule:

Screenshot 3: add NAT rule

Added rules will appear in the NAT section of the selected network:

Screenshot 4: routed NAT network

Editing NAT rules

The user can edit previously created NAT rules. Left-click on the rule's NAT type field to edit it:

Screenshot 6: routed SNAT network

Save the changes.

Note: You can use the Enable check mark to enable or disable a rule.

Deleting NAT rules

If the rule becomes irrelevant, it can be deleted. You can delete it using the Cross button:

Screenshot 7: delete NAT rules

Confirm deleting:

Screenshot 8: confirmation of deleting NAT rules

 

Vote:
5 out of 5
Аverage rating : 5
Rated by: 1
33145 North Miami, FL 2520 Coral Way apt 2-135
+1 302 425-97-76
700 300
ITGLOBAL.COM CORP
700 300
We use cookies to make your experience on the Serverspace better. By continuing to browse our website, you agree to our
Use of Cookies and Privacy Policy.