[SOLVED] VBox port forward - migrate to Proxmox (isolated networks)

Marcin Kubica

Member
Feb 13, 2019
21
0
6
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
 

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!