Knowledgebase
Azure Pack: Configure RDC for VM
Posted by on 20 July 2018 05:46 PM

Based on topology above there are 2 VM used. One is Palz02NVGRE another is Palz03NVGRE

The Virtual Network used is My Virtual Router Network.

There are  4 Main Steps to get 2 VM or more to RDC in a topology above

  1. Settings for Palz02NVGRE VM
  2. Settings RDC Rule for Palz02NVGRE VM
  3. Settings for Palz03NVGRE VM
  4. Settings RDC Rule for Palz03NVGRE VM

 

 

  • There are no limitations for Destination Port than the standard one. There you can put any number from 1- 65535.
  • For Source Port you can put number only in the following range 1-49151.

 

 i) Settings for Palz02NVGRE VM

1st we need to Connect to VM using Console from your VM Azure VM Dashboard. Here we are connecting to VM Palz02NVGRE. It will download a file and connect. Please View Creating VM Tutorial for this type of VM access.

Below is the Screen of Windows VM Palz02NVGRE

 

Go to START button by navigating mouse far left of the console connect window.

 

The right click on Computer and a menu will appear at the bottom. Click on Properties

 

Here, we go to Remote Settings to enable remote function.

 

This is the default configuration of the remote window.

 

Choose for Allow remote connections to this computer and uncheck Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended). This settings will set the remote desktop to be in basic security level.  Click Apply then OK.

 

Checking Firewall settings to make sure RDC is enable to connect to the outside world.

Now we are back to System. From here we Go to Control Panel.

 

In Control Panel, open the Windows Firewall.

 

Here is the Windows Firewall Window

 

Go to Allow an app or feature through Windows Firewall.

 

Here make sure that Remote Desktop is enable for both Network profile Private and Public. Now Press OK and exit.

Public is to make sure that RDC is possible through external public IP.

 

ii) Settings RDC Rule for Palz02NVGRE VM

  

Now we go to Azure Portal Dashboard. Navigate to Networks tab on the left and open the My Virtual Router Network.

 

Here is the My Virtual Router Network welcome screen. And go to RULES

 

In RULES, add Rule at the bottom of the screen.

 

The Rule I name it as RDC Palz02NVGRE. User can name anything they fancy but remember to state the purpose of the rule in the name to avoid confusion when user have many other rules in  the future.

 

NAME

 

: RDC Palz02NVGRE

PROTOCOL

 

: TCP

SOURCE PORT

 

: 1O

CHOOSE DESTINATION VIRTUAL MACHINE

 

: Palz02NVGRE (192.168.0.2)

DESTINATION PORT

 

: 3389

 

Once filled in the Rule form accordingly, next press the tick to save its settings.

 >>

 

Here is the Azure Portal Network Rule Dashboard when the rule is successfully created.

 

Now we can test the RDC connection to VM Palz02NVGRE. Based on the Rule we configured it to route port 10 to port 3389 internally. So when we connect to the RDC Palz02NVGRE we connect using PUBLIC IP :PORT

eg: RDC 101.99.78.49:10

 

Windows Security window will be prompted. Enter your VM Username and Password accordingly.

 

Here is the Remote Window for Palz02NVGRE and the remote connection is successful.

 

iii) Settings for Palz03NVGRE VM

 

We need to Connect to VM using Console from your VM Azure Dashboard to VM Palz03NVGRE.

Below is the Screen of Windows VM Palz03NVGRE

Go to START button by navigating mouse far left of the console connect window.

 

The right click on Computer and a menu will appear at the bottom. Click on Properties

 

Here, we go to Remote Settings to enable remote function.

Choose for Allow remote connections to this computer and uncheck Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended). This settings will set the remote desktop to be in basic security level.  Click Apply then OK. Now we go to Control Panel

 

Here make sure that Remote Desktop is enable for both Network profile Private and Public. Now Press OK and exit.

Public is to make sure that RDC is possible through external public IP. Once done can exit VM Palz03NVGRE.

 

iv) Settings RDC Rule for Palz03NVGRE VM

 

Now we go to Azure Portal Dashboard. Navigate to Networks tab on the left and open the My Virtual Router Network.

Here is the My Virtual Router Network welcome screen. And go to RULES. We can see the previous Rule set for Pal02NVGRE

Here in RULES, add Rule at the bottom of the screen.

 

The Rule I name it as RDC Palz03NVGRE. User can name anything they fancy but remember to state the purpose of the rule in the name to avoid confusion when user have many other rules in  the future.

 

NAME

 

: RDC Palz03NVGRE

PROTOCOL

 

: TCP

SOURCE PORT

 

: 11

CHOOSE DESTINATION VIRTUAL MACHINE

 

: Palz03NVGRE (192.168.0.3)

DESTINATION PORT

 

: 3389

 

Once filled in the Rule form accordingly, next press the tick to save its setting

 

Process of creating Rule

 

 

Rule Creation for RDC Palz03NVGRE is done.

 

Now we can test the RDC connection to VM Palz03NVGRE. Based on the Rule we configured it to route port 11 to port 3389 internally. So when we connect to the RDC Palz03NVGRE we connect using PUBLIC IP :PORT

eg: RDC 101.99.78.49:11

 

Windows Security window will be prompted. Enter your VM Username and Password accordingly.

 

Here is the Remote Window for Palz02NVGRE and the remote connection is successful.

 

Now Both VM is successfully created and successfully configured to run RDC on different port externally.

(1 vote(s))
Helpful
Not helpful

Comments (0)
Copyright © 1998 - 2021 Shinjiru International Inc. All Rights Reserved.