News
Seven days of Black Friday madness — great deal from Serverspace!
Serverspace Black Friday
WB
William Bell
February 11, 2020
Updated June 7, 2023

Configuring NAT in the control panel

Control panel FAQ 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:

The user can create two types of rules SNAT or DNAT

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:

Select SNAT and fill in the following fields

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:

When creating a type rule in the NAT Type drop-down list, select DNAT

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

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

Editing NAT rules

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

Editing NAT rules

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:

Deleting NAT rules

Confirm deleting:

Confirm deleting NAT rules

 

Vote:
5 out of 5
Аverage rating : 5
Rated by: 2
1101 CT Amsterdam The Netherlands, Herikerbergweg 292
+31 20 262-58-98
700 300
ITGLOBAL.COM NL
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.