At the moment, I'm using Proxmox with a single public IP which routes all traffic among my containers. Now I'd like to "split" the network in 2 in order to separate some containers. I thought it could be achieved by using 2 failover IPs and using 2 differents nat rules in the similar way I'm already doing. Something like:
How can I set these 2 failover IPs on Proxmox?
Code:
-A POSTROUTING -s 192.168.1.0/24 -o vmbr0 -j SNAT --to-source my_first_failover_ip
-A POSTROUTING -s 192.168.2.0/24 -o vmbr1 -j SNAT --to-source my_second_failover_ip
How can I set these 2 failover IPs on Proxmox?