How To Create Windows Server for Remote Desktop (RDP) To Be Used While Port 3389 is Blocked-Azure VM Step-By-Step PLUS Anywhere Access Configuration
You could of course manually configure RDP to listen on different ports to allow connection from other standard or non-standard ports. In my case, I need to be able to RDP to an Azure Virtual Machine from a local school or customer office where the IT department has blocked port 3389. There is a new Virtual Machine Type in the Azure Image Gallery called “Windows Server Essentials Experience Windows Server 2012 R2”. This machine already has Windows Server Essentials Experience role enabled so it is a simple matter to configure everything so someone can connect with HTTPS (via VPN) to an RDP Server. We will leverage this image for this Step-By-Step post. By default when you create a new machine the Windows Server Essentials Experience is not “configured” for Anywhere Access (VPN) functionalities and you have to Remote Control to the server to configure it. Therefore, I will be leveraging an artificial [Magic] “port swap” by managing end points for the server using the Azure End Points Configure screen to configure Windows Server Essentials Experience. These procedures will work for Windows Server 2012 R2 Datacenter as well. You only need to use the Essentials image if you need Anywhere Access (VPN) connectivity. Anywhere Access basically gives you the capability to VPN over HTTPS.
OR… If you want to do Essentials…
Prerequisite
I am assuming you already have an Azure account but if you do not, you can always get a free trial from https://aka.ms/IaaS
Use your Microsoft account or your organization account to sign in to the Microsoft Azure Management Portal
Sign in to the Microsoft Azure Management Portal by using your Microsoft account or your organizational account
Create Network
Before we can create the virtual machine, we need to setup some infrastructure. First is the Network.
In the lower left corner of the screen, click New. In the navigation pane, click Network services, and then click Virtual Network. Click Custom Create to begin the configuration wizard.
On the Virtual Network Details page, enter the following information.
Note: For more information about the settings on the details page, see the Virtual Network Details section in Configuring a Virtual Network using the Management Portal.
In the Name box, type a name for the virtual network (for example, GuruNetwork).
In the Location drop-down list, select an existing Location. Click the Next arrow.
Skip the DNS Servers and VPN Connectivity page.
On the Virtual Network Address Spaces page, enter the following information, and then click the checkmark on the lower right to configure your network.
Type the starting IP address and CIDR (address count), such as 10.0.0.0/24.
Note: We recommend that the address count of the network and the subnet are equal or larger than /24 (256).
Note:
Create a Storage Account
|
Note: It can take a while for the storage account to be created. To check the status, you can monitor the notifications in the status bar of the Management Portal. After the storage account has been created, your new storage account shows an Online status, and it is ready to use.
Create Virtual Machine
A Bit of MAGIC!!!
Connect to Virtual Machine
Configure Windows Server Essentials Experience Role [If you used the Essentials Image]
Setup Anywhere Access [If you used the Essentials Image]In general, the use of Routing and Remote Access (RRAS) functionality for routing and as a VPN gateway within a virtual network is not supported in Azure. However, the use of RRAS functionality on an Azure virtual machine is supported only for the scenario that is specified within this document. Anywhere Access helps you set up VPN connections and Remote Web Access to Windows Server Essentials Experience. To enable Anywhere Access in Azure, you need to:
|
---|