I’ve got an ESXi host containing Mikrotik CHR router and multiple VMs. Some of them are on private IPs, some of them are on public IPs.
Mikrotik is connected to some DC gateway. It has ip ex. 1.2.3.1.
It has two bridges:
“Bridge-PUBLIC” which contains VMs that get public IP addresses (ex. 1.2.3.4, 1.2.3.5…).
“Bridge-PRIVATE” which contains VMs that get private IP addresses (ex. 192.168.1.10…)
dst-nat has been created (ex. 1.2.3.1:8080 > 192.168.1.10:80) for VMs in the Bridge-PRIVATE, and if I try to access them from any public IP address that is not in Bridge-PUBLIC, the NAT works.