It's possible to use just one Public IP address for SSH'ing to multiple Web Drive Self-Provisioning Cloud Servers. This is an advisable method for several reasons:
- It's more cost-effective than multiple public IP addresses.
- Running SSH on custom ports avoids the common brute-force attacks that are targeted to the default ports.
- Safer practice to avoid various attacks, as public IP and NAT rules can be changed very easily.
How to Set Up:
This knowledgebase article assumes you already know how to set up Secure Shell (SSH) to one of your Servers. (Please see How to set up Secure Shell - SSH).
In the example below, each server uses the standard SSH port (22) on its internal IP address. These are unreachable from the internet. However the single external address has multiple, non-standard ports open, each of which point to the standard ports on the internal range.
- 126.96.36.199 port 1901 points to 188.8.131.52 port 22
- 184.108.40.206 port 1902 points to 220.127.116.11 port 22
- 18.104.22.168 port 1903 points to 22.214.171.124 port 22
- 126.96.36.199 port 1904 points to 188.8.131.52 port 22
This is a simple and effective method to both increase security for your cloud servers, and reduce the number of external, public addresses you need.