Multiple VM Servers with only 1 public IP

Rina-Y

New Member
May 19, 2020
3
0
1
43
Hi.
I am trying to migrate to Proxmox from a poorly implemented lxd system. I only have 1 public facing IP, so I have my VM's set up with a private network bridge (vmbr1) with masquerade in iptables. I was trying to follow some best practices by not installing anything on the pve host, so I have a reverse proxy vm built to manage all the separate web services I'm going to be working with.

I realized as I was setting up the port forwarding in iptables, that there might be a conflict between the masquerade entry and any postrouting snat entries that normally you'd enter per port forward... are these necessary with the masquerade in place? Since I only have 1 public IP for this machine, would it be better to just install the reverse proxy system directly on the pve host?

I would really appreciate a little guidance.
 
Hi,

this depends on how you like to set up your Node.
You can do choose between to setups.
1.) give the Public IP the VM/CT and Proxmox VE gets an internal IP for management. So you would not need any masquerading.
2.) run the proxy on the host.

It is better to use version one if it is feasible.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!