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

pipapo

Member
Aug 6, 2016
5
0
21
47
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

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!