Answer the question
In order to leave comments, you need to log in
How to use the same IP on multiple virtual machines?
Good afternoon. There is a Proxmox hypervisor with 3 interfaces and 3 virtual machines. All use NAT and are connected to vmbr1 which via POSTROUTING works with vmbr0.
Now you need to run the same software on each VM on different ports with access via IP vmbr2 (this can be done the same way as via vmbr1 with port forwarding), but the program requires bind on ext IP2.
How to add a new network interface to each VM with ext. IP2 and forwarding different ports to different VMs?
For example request ext. IP2:1000 goes to VM1, ext. IP2:1001 - VM2, ext. IP2:1002 - VM3.
Answer the question
In order to leave comments, you need to log in
you may need an intermediate virtual machine as a router and a bunch of bridges
read here
you need to shift the logic from Mikrotik notation to iptables and iproute2
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question