DaDesktop

Port Forwarding

 

Port forwarding lets you open one or more ports of a cloud desktop so they can be accessed on your local network or over the internet. You'll often see it used together with Remote Desktop Protocol. 

You can use this feature with DaDesktop Course machines (which need a private server), DaDesktop For Work setups, or Standalone machines. Just keep in mind that the interface might look a little different depending on the machine type.

Choose Port Forwarding


 

 

 

 

 

 

 

Choose 'Advanced' then 'Port Forwarding'.

You can set up port forwarding either automatically or manually. With auto allocation, the next free port on the server is assigned. This approach is usually the easiest, but manual allocation gives you control over each external port (between 10000 and 65500) if you specifically need one. Any manual port forwards you've already created stay in place and can be adjusted whenever you like.

Auto Allocation

Here's an example of auto allocation, alongside an earlier manual forward that maps host port 11122 to VM port 22.

Port Forwarding Auto Allocation

Manual Allocation

In this case, port 11122 is forwarded for both TCP and UDP traffic to port 22 on the cloud desktop VM, which is used for SSH. You can set different ports for UDP and TCP if needed.

Manual port forwarding

Example for Windows RDP


This walkthrough uses manual allocation as originally shown, but of course auto allocation works just as well.

1. Locate your DaDesktop machine, click "Port forwarding", then set your TCP ports for remote connections – this is your external port number followed by 3389 (for example, 66666:3389). Make a note of the port number. If you forget it, just open Port forwarding again to check.

RDP Port Forward Windows Example

2. Submit your settings, then set a password inside your Windows DD machine and click "Enable Remote Desktop"

Submit your settings and set a password inside your Windows DD machine

3. On your Windows device, open Remote Desktop and enter the server name followed by the TCP port number (for instance, zh4cn.npg.io:xxxxx if your server name is zh4cn). Under 'Show options' you can also pick the screen resolution for your remote desktop window.

remote desktop window

remote desktop configuration

3.1 To log into your DaDesktop remote desktop, by default 

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

After that, connect to the remote desktop.

connect the remote desktop

 

4. Now you'll have a remote desktop that uses the DD template but relies on your own device's sound card. You can copy, paste, and output documents easily. (The small window on the left shows the DD remote desktop with audio.)

DD remote desktop with audio