Biznet GIO Cloud Connecting VM via Windows Remote Desktop
Introduction Connecting to your newly created Windows Virtual Machine (VM) via the Windows Remote Desktop client is easy but you will need to make some configuration changes in Portal first. This document will guide you through the necessary processes to configure the VM. Once launched your VM will not be accessible via a Remote Desktop Client. This is because Biznet GIO Cloud Compute deploys a firewall between your VM and the Internet with deny rules as default. Prerequisites Your VM has been deployed on an isolated network (this is the standard network which is auto provisioned). Your isolated network has an external IP Address (an IP Address is automatically assigned to your default isolated network). Any additional isolated networks will not have a IP Address and one will need to be acquired separately. You VM is running a Windows Operating System. Enabling RDP From the Home screen select [Manage Resources], [Cloud] Select the [Instance] tab From the left hand navigation select the VM you want to enable / check that it is enabled for RDP. In this example we have selected a machine we had previously called test. Select [View Console] to access a remote terminal session on the VM. Log into your VM using the password which was allocated to you when the VM was created. If you have forgotten the password you will need to stop the VM, request a new password and then restart. See the User Guide for more information on VM Password Resets. Biznet GIO all right reserved 2 of 7
On the initial Configuration Tasks screen, ensure Remote Desktop is enabled. Alternatively, if it is enabled and you require different settings continue to the next step. To enable or change the default setting, click on [Enable Remote Desktop], and enable/adjust the settings from this screen. Ensure one of the Allow connections is enabled, depending on your security requirements. Select [OK] Log out of the VM and close the terminal window, and return to the Cloud Compute Portal. Biznet GIO all right reserved 3 of 7
Identifying your IP Address Now that we have established the VM will accept a RDP session we need to set up the firewall rules to allow Internet access to the VM itself. This configuration changes are managed through the Portal. Select the virtual machine from the list to which you want to gain access from the Internet. In this example we have selected a machine we had previously called test. For your selected virtual machines, the screen will show the machines attributes. Select the [NICs] tab to show the details of the network your VM is attached to. You will notice the type of network is identified. Make a note of the [Network ID]. This is the internal ID for the network that your VM is attached to. Each network has a unique ID. From the [Manage Resources] tabs select the [IP Address] tab Displayed on the left hand navigation will be all the IP Addresses associated with your Account (Master User and Power User will see all). Remember every User will have an IP Address and every location you have deployed a VM will also have an IP Address so there may be many displayed. Scroll through the list of IP Addresses until you find the one with the [Associated Network ID] that matches the [Network ID] you identified and noted earlier. Biznet GIO all right reserved 4 of 7
Setting up the firewall rules Now that you have identified the IP Address associated with the network your VM resides on select the [Firewall] tab. This tab allows you to create the firewalls rules associated with your network. These are the Ingress rules for your network. Egress rules can be found on the Network tab (rather than IP address tab) but are not required to set up an RDP session. For the purposes of this guide we are going to demonstrate how to create a standard rule for TCP/IP traffic using port 3389 (the port used by Windows Remote Desktop) - this will allow traffic through to Remote Desktop on our virtual machine. [Source CIDR] [Protocol] [Start Port] [End Port] Enter the source network of the devices you would like to have access to your VM. In this example we want it available to everyone on the Internet so we enter 0.0.0.0/0 to increase security you can be more specific and lock it down to your own office / home network Using the drop down box select the required protocol. In this case we want the default TCP Enter 3389. This is the first port in the range you wish the firewall to allow Enter 3389. This is the last port in the range you wish the firewall to allow If ICMP is selected as a Protocol enter -1 in both the [Type] and the [Code] boxes that will appear. This will allow the Security & Network Appliance to respond to ICMP requests. Biznet GIO all right reserved 5 of 7
Once the firewall ruleset has been entered click on the + button to add the rule, once the rule has been added, you see it displayed as follows: To remove a rule simply select the button against the appropriate rule. Select the [Port Forwarding] tab. This will allow you to define which port on the VM we want to use. [Public Port] [Private Port] [Protocol] enter the IP port incoming traffic will be arriving on. This should be within the range you specified in Step 11 enter the IP port that will be used by the virtual machine for this traffic. This could be a different port from that specified in the [Public Port] box, if so the port will be natted specify the protocol used by the target server for this traffic type. This should match the settings in Step 11 [Virtual Machine] select the target virtual machine from the drop down list Once the port forwarding rule has been entered click on the + button to add the rule, once the rule has been added you this will be listed as follows. To remove a rule simply select the button against the appropriate rule. Locate the IP Address of your VM (demonstrated earlier), this will be the IP Address you use to access your VM. Biznet GIO all right reserved 6 of 7
Remote Desktop Connection From your computer (Microsoft Operating system in this example), run the Remote Desktop Connection client. Search for Remote Desktop Connection or execute %windir%\system32\mstsc.exe from the Start, Run, command prompt. Enter the IP Address of your VM, and the user name (default user name is Administrator) When you connect enter the password which was generated when you created the VM. You are now accessing your VM over the Internet using Windows Remote Desktop. Biznet GIO all right reserved 7 of 7