DaDesktop

Port Forwarding

 

Port forwarding enables you to open specific ports on a cloud desktop so they're accessible from your local network or the internet. It's most often paired with Remote Desktop Protocol. 

You can apply this feature to DaDesktop Course machines (needing a private server), DaDesktop For Work, or Standalone setups. Do keep in mind that the interface might look a bit different across the various machine types.

Select Port Forwarding


 

 

 

 

 

 

 

 

Go to 'Advanced' then 'Port Forwarding',

Port forwarding can be set up via automatic or manual allocation. With automatic allocation, the server picks the next free port, which is usually the simplest approach. Manual allocation, however, lets you choose specific external ports in the range 10000–65500 if needed.  Any manual port forwards you've already created are preserved and can be edited later.

Auto Allocation

The image below illustrates auto allocation, alongside a manual port forward that was set up earlier using host port 11122 and VM port 22.

Port Forwarding Auto-Allocation

Manual Allocation

In this example, port 11122 is forwarded for both TCP and UDP to cloud desktop VM port 22, which is used for SSH. You can select different UDP and TCP ports if that suits your needs.

Manual Port forwarding

Example for Windows RDP


This example relies on the original manual allocation method, though you can certainly go with auto allocation instead.

1. Locate your DaDesktop desktop, then click "Port forwarding". Set up your TCP ports for the remote connection—this involves pairing your external port number with 3389 (for instance, 66666:3389). Be sure to note down your port number; if you forget it, you can always revisit Port forwarding to check it again.

RDP Port Forward Windows Example

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

Submit and set up a password inside your Windows DD machine

3. On your Windows machine, open Remote Desktop and enter the server name along with the TCP ports. (In this case, I'm using zh4cn, so the address becomes zh4cn.npg.io:xxxxx.) Under 'Show options', you can also pick the screen resolution for your remote desktop window, among other settings.

remote desktop window

remote desktop configuration

3.1 To log into your DaDesktop remote desktop, by default 

"Please reset your username and password inside the machine first."

After that, connect to the remote desktop.

connect the remote desktop

 

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

window DD remote desktop with audio