DaDesktop

Port Forwarding

 

You can use port forwarding to make one or more ports of your cloud desktop accessible on your local network or the wider internet. This is especially handy for Remote Desktop Protocol. 

Whether you're working with DaDesktop Course machines (which need a private server), DaDesktop For Work, or Standalone machines, this capability is available. Keep in mind that the interface might look a bit different depending on the machine type.

Select Port Forwarding


 

 

 

 

 

 

 

Go to 'Advanced' and then 'Port Forwarding',

You can set up port forwarding using either automatic or manual allocation. With automatic allocation, the system picks the next free port on the server. Auto allocation is generally recommended as it simplifies things, but if you need precise control, manual allocation lets you assign each external port individually—available ports range from 10000 to 65500.  Any manual port forwards you've already configured will stay in place and can be tweaked if needed.

Auto Allocation

Here's an auto allocation setup where a manual port forward had been added earlier, mapping host port 11122 to VM port 22.

Port Forwarding Auto-Allocation

Manual Allocation

In this case, port 11122 is being forwarded for both TCP and UDP traffic to port 22 on the cloud desktop VM for SSH purposes. You can choose different ports for TCP and UDP if your needs call for it.

Manual Port forwarding

Example for Windows RDP


Although this demonstration sticks to the original manual allocation method, you can just as easily use auto allocation.

1. Locate your DaDesktop machine, then click "Port forwarding", and configure your TCP ports (used for the remote connection). Enter your chosen external port number followed by 3389, like 66666:3389. Make a note of that external port; if you ever forget it, you can always return to the Port forwarding section to look it up.

RDP Port Forward Windows Example

2. Submit your changes and set up a password on your Windows DD machine; after that, click "Enable Remote Desktop"

Submit and set up a password inside your Windows DD machine

3. From your Windows device, open Remote Desktop and enter the server name plus the TCP port you assigned—for instance, zh4cn.npg.io:xxxxx. In the 'Show options' area, you can also adjust the resolution of the remote desktop window if you like.

remote desktop window

remote desktop configuration

3.1 When it's time to log into your DaDesktop remote desktop, by default 

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

After that, go ahead and connect to the remote desktop.

connect the remote desktop

 

4. You'll now have a remote desktop session that runs on the DD template and uses your local device's sound card. From here, copying and pasting or outputting documents is straightforward. (The small window on the left shows the DD remote desktop with audio.)

window DD remote desktop with audio