DaDesktop

Port Forwarding

 

You can use port forwarding to make one or more ports of a cloud desktop accessible on your local network or over the internet. It's most often paired with Remote Desktop Protocol. 

The feature works across DaDesktop Course machines (which need a private server), DaDesktop For Work, and Standalone machines. Keep in mind that the interface might look a little different depending on the machine type.

Select Port Forwarding


 

 

 

 

 

 

 

Select 'Advanced' and 'Port Forwarding',

Port forwarding can be configured with automatic allocation or manual allocation. Automatic allocation simply grabs the next free port on the server, which is often the simplest route. Manual allocation lets you pick each external port yourself (within the range 10000-65500). Any previously defined manual port forwards remain in place and can be modified later if needed.

Auto Allocation

In the image, you can see auto allocation at work, along with an earlier manual port forward that maps host port 11122 to port 22 on the VM.

Port Forwarding Auto-Allocation

Manual Allocation

Here, port 11122 is being used for both TCP and UDP forwarding to port 22 on the cloud desktop for SSH. You can set different TCP and UDP ports if needed.

Manual Port forwarding

Example for Windows RDP


The following example relies on manual allocation, though you're free to use auto allocation as well.

1. Locate your DaDesktop desktop, select "Port forwarding", and define the TCP ports for the remote connection. This is your external port number paired with 3389 (for instance, 66666:3389). Be sure to note down the port number; if you forget it, simply go back to Port forwarding to check.

RDP Port Forward Windows Example

2. Submit the changes, set a password on your Windows DD machine, and then click "Enable Remote Desktop"

Submit and set up a password inside your Windows DD machine

3. Return to your Windows device, launch Remote Desktop, and enter the server name followed by the TCP port (for example, zh4cn.npg.io:xxxxx). Under 'Show options,' you can also pick the resolution for the remote desktop window.

remote desktop window

remote desktop configuration

3.1 When you attempt to log into your DaDesktop remote desktop, by default you'll need to:

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

Then you can connect the remote desktop.

connect the remote desktop

 

4. At this point, you'll have a remote desktop that uses the DaDesktop template and your own device's sound card. You can also easily copy, paste, or export documents. (The small window on the left shows the DD remote desktop with audio.)

window DD remote desktop with audio