06.12.2024

How to access to the multiple servers with the same "public" IP

What is a reason to "hide" a few servers behind the one public IP

There are two main reasons why you may want to "hide" your servers:

How to create your own "safe area"

To make your own private network space we will use Network Address Translation (NAT) technology. Follow further steps:

To create protected network login to your client area, then click to VMWare Cloud > Networks > Add Network button and choose bandwith and addresses quantity. Remember assigned external IP, it is an "entry point" to your network;

 

 

Next step you need to modify your servers network interfaces. Remove public and add private instead, then reboot all servers to apply changes;

As a result you will see internal IP-addresses, assigned to each server. Remember them;

Return back to your private network settings and add address translation rules for access to each server;

As a result you should see rules list like below;

Result check

To check access you should just connect to public IP of your network and port you're "NATed";

Conclusion

In this article I described how to connect to the multiple servers with one IP-address via Serverspace client area features.