DaDesktop

Port Forwarding

 

Port forwarding allows exposing a port or ports of a cloud desktop to the local network or the internet. It is commonly used with Remote Desktop Protocol. 

This feature can be used for both DaDesktop Course machines (private server required), DaDesktop For Work or Standalone machines. Please note, the interface may appear slightly differently for the different types of machines.

Select Port Forwarding


 

 

 

 

 

 

 

Select 'Advanced' and 'Port Forwarding',

Port forwarding can be done using automatic allocation or manual allocation. Automatic allocation uses the next available port on the server. Generally, auto-allocation is preferred to keep things simple, but manual allocation allows the choice of each external port if needed from port 10000-65500.  If manual port forwards have been added previously, these are kept and can be edited as needed.

Auto Allocation

This image shows auto allocation, with a previously added manual port forward using port 11122 on the host and port 22 on the VM.

Port Forwarding Auto-Allocation

Manual Allocation

This example shows the use of port 11122 for both TCP and UDP port forwarding to cloud desktop VM port 22 for SSH. UDP and TCP ports can be chosen differently if needed.

Manual Port forwarding

Example for Windows RDP


This example uses the original manual allocation method, but auto-allocation can, of course, also be used.

1. Find your DaDesktop desktop, click "Port forwarding", set your TCP ports (for remote connection). This is your external port number and 3389 (for example, 66666:3389). Please remember your port number; if you forget it, you can click Port forwarding to view it again.

RDP Port Forward Windows Example

2. Submit and set up 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 device, use Remote Desktop and enter the server name + TCP port. (Here I use zh4cn, so it's zh4cn.npg.io:xxxxx.) In 'Show options' you can also select the resolution of your remote desktop window, for example.

remote desktop window

remote desktop configuration

3.1 To log in to your remote desktop on DaDesktop, by defualt 

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

Then connect the remote desktop.

connect the remote desktop

 

4. Then you can have a remote desktop that uses the DD template and your own device's sound card; you can also copy, paste, or output documents easily. (Small left-hand window: DD remote desktop with audio.)

window DD remote desktop with audio