One public IP and 3 VM's running a email server, web server and database

Renato-Certsan

New Member
Jul 22, 2022
1
0
1
Hello everyone,

i'm newbie on proxmox and virtualisation. I have a so you start sever on ovh cloud running proxmox and i need to create 3 vms to run my services: email server, web server and database. Can i run all my VM's on only one public IP to public access? any tutorial?

Thanks a lot.
 
I would setup a fourth VM with OPNsense doing the NAT between your public IP and the other VMs with private IPs and then port-forward SQL ports to SQL VM, port 80/443 to webserver VM, pop3/imap/smtp ports to mailserver VM.

And OPNsense could also optionally work as intrusion detection/prevention, recursive DNS server, DHCP server, VPN server for more secure management, reverse proxy, ...
 
Last edited:
  • Like
Reactions: Renato-Certsan