Port Forwarding

Port forwarding enables you to expose one or more ports from a cloud desktop to your local network or the internet. This capability is frequently utilised in conjunction with the Remote Desktop Protocol.

This functionality is available for DaDesktop Course machines (which require a private server), as well as for DaDesktop For Work or Standalone instances. Please note that the user interface may vary slightly depending on the machine type.

Select Port Forwarding


To begin, navigate to 'Advanced' and select 'Port Forwarding',

Forwarding rules can be configured via automatic allocation or manual allocation. Automatic allocation assigns the next available port on the server. While auto-allocation is generally recommended for simplicity, manual allocation allows for specific selection of external ports within the range of 10000 to 65500. If manual port forwards were previously established, they will be retained and remain editable as needed.

Auto Allocation

The following illustration demonstrates automatic allocation, alongside a pre-existing manual port forward mapping host port 11122 to VM port 22.

Port Forwarding Auto-Allocation

Manual Allocation

This example illustrates the use of port 11122 for both TCP and UDP forwarding to cloud desktop VM port 22 for SSH. The UDP and TCP ports can be specified separately if different values are required.

Manual Port forwarding

Example for Windows RDP


This scenario employs the manual allocation method, though automatic allocation can naturally be used as well.

1. Locate your DaDesktop desktop, select "Port forwarding", and configure your TCP ports (intended for remote connection). This represents your external port number mapped to 3389 (e.g., 66666:3389). Please note this port number, as you can revisit the Port forwarding settings to review it if forgotten.

RDP Port Forward Windows Example

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

Submit and set up a password inside your Windows DD machine

3. On your local Windows device, open Remote Desktop and enter the Server name along with the TCP port (for example, zh4cn.npg.io:xxxxx). You may also access 'Show options' to adjust the 'resolution' of the remote desktop window, for instance.

remote desktop window

remote desktop configuration

3.1 To log in to your DaDesktop remote desktop by default:

"You should reset your username and password in the machine first."

Proceed to connect to the remote desktop.

connect the remote desktop

4. You can now access the remote desktop using the DD template and sound card from your local device. Additionally, copying and pasting or outputting documents is straightforward. (See the small window on the left: DD remote desktop with audio).

window DD remote desktop with audio