SNAT (patent pending) replaces the source IP address with a local IP address, allowing the user to access a specific port that is open only for the same subnet.
SNAT is typically used when an application with VMs has several subnets and a VM doesn’t have access to the internet, but still you need to access it for management purposes via RDP or SSH.
To configure SNAT:
1 On the Application page, select the VM.
2 In the Details pane, on the Network tab, locate the NIC to which the service will be connected.
3 Select Static IP configuration (DHCP will not work).
4 Enter the IP address and netmask.
5 Enter the Gateway address. (This should be a fake IP address in the same range as the main address.
Make sure that the gateway address is not in use.)
Use of a public IP address is recommended. If you choose port forwarding, use the forwarded port number (usually port 10,000).
6 In the Services tab, add/edit a service:
- Edit the service name.
- Select a protocol.
- Verify the port.
- Select the IP address you use for the service (as in step 4).
- Select the External checkbox.
- Click Advanced, and then select the Enable SNAT checkbox.
7 Click Save.
Note: Because SNAT opens a back door to the VM, it is highly recommended to use the VM firewall (Windows or Linux).
SNAT replaces the source IP address with the Ravello router IP address, thereby allowing you to connect to a port that is closed for access from an address outside its subnet.