Can I use the firewall for custom port forwards and masquerading?

pipapo

Member
Aug 6, 2016
5
0
21
48
I am currently switching to Proxmox from Xenserver (bridged mode, multiple networks, NAT via iptables, selective port forwards). I could easily replicate my former setup, just using /etc/network/interfaces and iptables.

However, I would like to know, if there is a more elegant solution? Can the port forwarding rules and masquerading be somehow stored as VM specific configuration? The firewall seems to be based on iptables, could I use it this way?
 
Hi,

no we have no converter, so you can apply this settings only manual.
We do not support such things like port forwarding and masquerading in the config.
Yes you can use you settings and the pve-firewall.
see man pve-firewall
 
  • Like
Reactions: pipapo