Hi All
I'm trying to think about best way to approach dynamic port forwarding to VMs. In Virtual Box this is really super easy - port forwarding is simply a part of VM definition, and their process is just spawning a listening socket for the VM process. This means with a little code I can spawn N-vms with wicked port forwarding config, on a totally unrelated internal network and destroy all of this when vms are destroyed. Clean, no fuss.
How would you achieve this with Proxmox?
I've read about ideas of port forwarding with iptables tied to the host vmbr interfaces config. This might be okay for a static, or not-so-often changing deployments.
I've noticed each vm under Proxmox gets own tap interface dynamically - anything in this area maybe?
I will be grateful for your insights.
Best regards
Marcin
I'm trying to think about best way to approach dynamic port forwarding to VMs. In Virtual Box this is really super easy - port forwarding is simply a part of VM definition, and their process is just spawning a listening socket for the VM process. This means with a little code I can spawn N-vms with wicked port forwarding config, on a totally unrelated internal network and destroy all of this when vms are destroyed. Clean, no fuss.
How would you achieve this with Proxmox?
I've read about ideas of port forwarding with iptables tied to the host vmbr interfaces config. This might be okay for a static, or not-so-often changing deployments.
I've noticed each vm under Proxmox gets own tap interface dynamically - anything in this area maybe?
I will be grateful for your insights.
Best regards
Marcin