How to create a DNAT rule to allow inbound traffic
How to create a Destination NAT rule to allow inbound traffic
Prerequisites to this guide:
Login to your Copaco VMware Cloud portal
Find your Public IP address(es)
Go to Networking => Edges
In this case we have 2 public ip addresses: 185.122.152.1 is the primary Edge Gateway IP address and 185.122.152.2 is the secondary IP addressClick on CONFIGURE SERVICES
Click on DNAT RULE
Add the desired IP address and port, in this case we are Natting SSH on TCP port 22
Original IP/range: Enter 1 of the IP address from step 2 (public IP)
Protocol: Choose the desired protocol
Original port: choose the desired port
Translated IP/Range: Enter the IP address of the VM
Translated port: choose the desired port on VM
Click on KEEPClick on Save changes in Top right corner

EXAMPLE 1: Allow Remote Desktop connection
Allow incoming port 4415 to Virtual Machine on Remote Desktop port 3389 (default)

Do not forget to create a firewall rule to allow 4415