Forward port range

msd

Active Member
Sep 12, 2015
24
0
41
Hello Proxmox,

I have a scenario when I need to forward the range of ports from outside world to Proxmox virtual machine (for example from 5000 to 5050) and now I need to forward ports, one by one.

Is it possible to forward a range of ports to Proxmox VM without forwarding one by one?

One more question is, every time when I add another forward rule, Proxmox create new file interfaces.new and this is ok, but can I apply changes from new file to Proxmox without restarting host, because there are more that one VM and I need to stop another process for restarting Proxmox to apply all forward changes :-)

Thanks for the help and support in the advance...
 
I have a scenario when I need to forward the range of ports from outside world to Proxmox virtual machine (for example from 5000 to 5050) and now I need to forward ports, one by one.

Is it possible to forward a range of ports to Proxmox VM without forwarding one by one?

Unfortunately not possible (in Linux iptables command)
One more question is, every time when I add another forward rule, Proxmox create new file interfaces.new and this is ok, but can I apply changes from new file to Proxmox without restarting host, because there are more that one VM and I need to stop another process for restarting Proxmox to apply all forward changes :)


Not recommended since there are a dependencies between network and vm configuration.

On your own risk you can make the same changes you did via GUI temporarily by using "ifconfig" respectively "ip addr" and other commands.