Port Forwarding

 

Port forwarding enables the exposure of specific ports on a cloud desktop to your local network or the internet. This feature is frequently utilized in conjunction with Remote Desktop Protocol. 

This capability is available for DaDesktop Course machines (which require a private server), DaDesktop For Work, and Standalone machines. Please be aware that the user interface may vary slightly depending on the machine type.

Select Port Forwarding


 

 

 

 

 

 

 

Navigate to 'Advanced' and select 'Port Forwarding'. Port forwarding can be configured through automatic or manual allocation. Automatic allocation assigns the next available port on the server, which is generally the preferred method for simplicity. Manual allocation, however, allows you to select specific external ports, ranging from 10000 to 65500, if specific configuration is required. Any previously established manual port forwards are retained and can be modified as needed.

Auto Allocation

The image below illustrates automatic allocation, alongside a previously added manual port forward that uses port 11122 on the host and port 22 on the VM.

Port Forwarding Auto-Allocation

Manual Allocation

In this example, port 11122 is utilized for both TCP and UDP port forwarding to cloud desktop VM port 22 for SSH. If required, distinct UDP and TCP ports can be selected.

Manual Port forwarding

Example for Windows RDP


This example demonstrates the original manual allocation method, though automatic allocation can also be employed if desired.

1. Locate your DaDesktop desktop and click "Port forwarding", then configure your TCP ports (for remote connection). This consists of your external port number and 3389 (for example, 66666:3389). Please note this port number, as it can be reviewed later by accessing Port forwarding again.

RDP Port Forward Windows Example

2. Submit the configuration and set up a password within your Windows DD machine, then select "Enable Remote Desktop"

Submit and set up a password inside your Windows DD machine

3. On your local Windows device, launch Remote Desktop and enter the Server name followed by the TCP port (e.g., if the instance is zh4cn, use zh4cn.npg.io:xxxxx). You can also adjust the "resolution" of the remote desktop window via the 'Show options' menu.

remote desktop window

remote desktop configuration

3.1 To log into the DaDesktop remote desktop, please note the following by default 

"You must reset your username and password within the machine first."

Afterwards, you can proceed to connect to the remote desktop.

connect the remote desktop

 

4. You will then have access to a remote desktop using the DD template and sound card from your local device. This setup also facilitates easy copy-paste operations and document output (as shown in the small window on the left: DD remote desktop with audio).

window DD remote desktop with audio