Hi all.
I'm playing with a Proxmox VE dedicated server. This server has just one public IP, so all VMs are using privated IPs (192.168.1.x) and MASQUERADE on proxmox host.
I want to access several name-based virtual hosts in several virtual machines, so I need this configuration:
see? a single public IP which reverse-proxies all HTTP requests to their corresponding virtual machine.
I'm using nginx, which listens on public port 80 and acts as a reverse proxy, as nginx supports name-based vhosts.
Ayway I'm having some problems to make it work correctly.
Someone of you is using or has used this same method? any nginx + nat solution?
Thanks!
I'm playing with a Proxmox VE dedicated server. This server has just one public IP, so all VMs are using privated IPs (192.168.1.x) and MASQUERADE on proxmox host.
I want to access several name-based virtual hosts in several virtual machines, so I need this configuration:
Code:
www.example1.com => proxmox.example.com (11.22.33.44) => Virtual Machine A (192.168.1.11)
www.example2.com => proxmox.example.com (11.22.33.44) => Virtual Machine A (192.168.1.11)
www.example3.com => proxmox.example.com (11.22.33.44) => Virtual Machine B (192.168.1.12)
see? a single public IP which reverse-proxies all HTTP requests to their corresponding virtual machine.
I'm using nginx, which listens on public port 80 and acts as a reverse proxy, as nginx supports name-based vhosts.
Ayway I'm having some problems to make it work correctly.
Someone of you is using or has used this same method? any nginx + nat solution?
Thanks!