Quick guide to RDP, NAT and Web Access in CloudAir.
It took me some time to go through it all using different web pages so I thought if I needed it someone else will to, so here’s the quick guide of setting up RDP and Internet Access to a Windows Server in vCloud Air. I’ve created a “Demo” VDC for this.
First step is to create if first virtual machine (if you’ve not already)
Assign the Resources and assign it to the Routed Network. Whilst the machine is being created, select Gateways and find your Public IP address show as (Gateway IP)
Now Click Networks and make a note of the IP Ranges including Default Gateway. In this example I’ve not set it to DHCP so for this example we’ll use 192.168.109.2 for the Windows Server. (note – I’ve removed my public IP from the screenshot)
Now we need to add the Firewall and NAT Rules – Click Gateways
Click the network to get the following screen, select Add NAT Rule
We need to add a DNAT (Destination NAT)
Drop down the Original (External) IP and select your public IP
Now we need to complete the network details. Protocol =IP, Original Port/Range = 3389, Translate (Internal) IP Range = 192.168.109.2 (internal server IP Address) Translated Port/Range = 3389 Tick the “Enable this Rule”
Now add the Firewall rule to allow access. Select Firewall Rules and Add Firewall Rule
Make sure Enable Firewall is ticket, and select Add, give it a name, add a Source (add you’re source to increase the security, if you want connect from various locations and you don’t know your outbound public just enter “Any” source port will be 3389 enter the destination IP (the internal IP Address) destination port and protocol, the select the “Allow” action
Then we need to add an outbound rule.
You now need to do the following on the Windows Server
1) Set an IP Address
2) Disable or Allow RDP through the Windows Firewall
3) Enable RDP on the server
You should now be able to RDP to your Windows Server using the Public IP.
However you won’t have Internet Access, for this you’ll need to create a Source NAT Rules (SNAT)
Select SNAT, enter the internal IP Address in this case 192.168.109.2 and then select the External Address – this will be you Public/Gateway IP Address.
You will need to add some Public DNS Servers to the IP Configuration in Windows, I used the Google Public (18.104.22.168)