I am creating VPS solution and currently network policy for Virtual Machines provisioning provides each VM with one public IPv4 address from the reserved pool of 255 addresses. I will need to provide SSH access to these virtual machines. My SSH access creating scenario will configure each VM with SSH keys and e-mail users with required info.
I was told that it is not really recommended to provide each VM with public IP with direct SSH port opened. Instead I was advised to map all VMs to one public IP, and then open (I assume multiple) ports for SSH access to these.
How would I accomplish this? Firewall with port forwarding?
Kind Regards
The feature you have to use is called NAT. As was stated before, depends on your needs. If you need a different external IP for each VM then go with pool, if not - use NAT and 1 external IP.