EXPLANATION: How to connect to this NAT server?
Our clients are often unable to connect to their NAT servers due to a simple mistake in their actions. Requests to technical support always have the same text "Connecting to the server, the password is incorrect".
So, let me tell you why this is happening and how to fix this ridiculous error. For a better understanding of the situation, I will very briefly try to explain the essence of the work of NAT servers, it has the following form:
Each client server is a LXC container that runs inside one large server (hereinafter referred to as a node). This node has only one IPv4, because of this, the price of the server is several times lower. Since there is only one IPv4, the standard ports 21, 22, 80, etc. occupied by the main system, not by the LXC container client. In order for the client to get into his container, the administration conducts port routing.
Now let's move on to how to understand this "Ports Map" that you are given along with the order.

This is the «Port Map» that we provide to our clients. Green highlighted external ports (used for connection), red — internal ports of the LXC container.
Also, for a general understanding, I will provide it in text format.
The structure is as follows:
Based on this, we can draw the following conclusion. In our case, to connect via SSH (22 container LXC port) you need to use port 15322, and one common IPv4 197.365.12.256. For greater clarity, I will show an example of connecting to the server through the Putty program.

Fill in the connection fields as indicated in the port map, press the button «Open»
<img src="/uploads/media/topic/2022/04/05/10/f957fa502b6aa147bb10.png" title=«Pressing the „Yes“ button in the „Putty Security Alert“ window» alt=«Press the „Yes“ button in the „Putty Security Alert“ window» class=«image-center» />
Click the «Yes» button in the «Putty Security Alert» window

Enter the login and password that you were given when issuing the server and get into the system.
Now let's consider an equally frequently asked question in the form of "How can I connect via FTP to these servers?".
Everything is done just as easily as with SSH connection. For example, we will use FileZilla and SFTP connection on port 22.

We fill in all the fields as shown in the screenshot, but there are some nuances about which below.
So, the whole nuance lies in the «Host» field, where instead of the IP address you must specify the type of connection (Because the connection port is not 22 and the system will not automatically determine the type of connection ). This field must be filled in as follows:
In our case, this field will look like this:
Then we press the connect button and use our server. I hope that after this short article, people will no longer have questions about this. All success!
So, let me tell you why this is happening and how to fix this ridiculous error. For a better understanding of the situation, I will very briefly try to explain the essence of the work of NAT servers, it has the following form:
Each client server is a LXC container that runs inside one large server (hereinafter referred to as a node). This node has only one IPv4, because of this, the price of the server is several times lower. Since there is only one IPv4, the standard ports 21, 22, 80, etc. occupied by the main system, not by the LXC container client. In order for the client to get into his container, the administration conducts port routing.
Now let's move on to how to understand this "Ports Map" that you are given along with the order.

This is the «Port Map» that we provide to our clients. Green highlighted external ports (used for connection), red — internal ports of the LXC container.
Also, for a general understanding, I will provide it in text format.
197.365.12.256:15322 → 22
197.365.12.256:15380 → 80
197.365.12.256:1566 → 8080The structure is as follows:
Generic IPv4:External port → Port inside containerBased on this, we can draw the following conclusion. In our case, to connect via SSH (22 container LXC port) you need to use port 15322, and one common IPv4 197.365.12.256. For greater clarity, I will show an example of connecting to the server through the Putty program.

Fill in the connection fields as indicated in the port map, press the button «Open»
<img src="/uploads/media/topic/2022/04/05/10/f957fa502b6aa147bb10.png" title=«Pressing the „Yes“ button in the „Putty Security Alert“ window» alt=«Press the „Yes“ button in the „Putty Security Alert“ window» class=«image-center» />
Click the «Yes» button in the «Putty Security Alert» window

Enter the login and password that you were given when issuing the server and get into the system.
Now let's consider an equally frequently asked question in the form of "How can I connect via FTP to these servers?".
Everything is done just as easily as with SSH connection. For example, we will use FileZilla and SFTP connection on port 22.

We fill in all the fields as shown in the screenshot, but there are some nuances about which below.
So, the whole nuance lies in the «Host» field, where instead of the IP address you must specify the type of connection (Because the connection port is not 22 and the system will not automatically determine the type of connection ). This field must be filled in as follows:
sftp://IPv4 what was given with the order/In our case, this field will look like this:
sftp://197.365.12.256/Then we press the connect button and use our server. I hope that after this short article, people will no longer have questions about this. All success!
Нет комментариев