Firewall : NAT between bridged VM

winproof

Well-Known Member
Oct 18, 2017
33
10
48
49
france
Hello

a little question, can i use proxmox firewall for nat (port forwarding) between two VM?
i have a mail server (zimbra) and a intranet server with, among other things, a xmpp server.
we not use zimbra xmmp server but prosody on intranet server, and i need to forward port 5222 from zimbra server to intranet server.
i know that i can use ufw/iptables on zimbra server, but would it be possible to do it on proxmox level?
it's possible to do port forwarding on network host level, but on guest level....
it's not a "real" problem, because there is a lot's of other solution, I just wonder if it's possible.
apparently there is only two rules (IN and OUT) on firewall guest level (in /etc/pve/firewall/<VMID>.fw) , no implementation of forwarding rules at this level?

regards

Ps: i need to do it on VM level, because all VM are in bridged mode in a LAN, and the problem appear only from pc connected to local network (from outside it's the gateway that do the port forwarding)
 
Last edited: