Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Forward multiple ports to VM under Proxmox NAT Mode
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Forward multiple ports to VM under Proxmox NAT Mode

Hello,
qm set 100 -args "--redir tcp:21002::21002"
qm set 100 -args "--redir tcp:21001::21001"

Those commands actually work for single port. After I executed second command, it will only forward 21001 port to the VM and ignore the first command
in /etc/pve/qemu-server/.conf/100.conf
there is only qm set 100 -args "--redir tcp:21001::21001" but not 21002.

So my question is how to forward multiple ports to VM under Proxmox NAT Mode. Is it possible?

Your help is much appreciated.

Best Regards.

Comments

  • FalzoFalzo Member

    probably specify all in one line like

    -args "--redir tcp:21002::21002 --redir tcp:21001::21001"

  • @Falzo said:
    probably specify all in one line like

    -args "--redir tcp:21002::21002 --redir tcp:21001::21001"

    Yes, This is working.:) Thanks Bro, I just figured it as well.

Sign In or Register to comment.