Remote Desktop » Rustdesk

Remote Desktop » Rustdesk

I recently came across RustDesk, a cutting-edge tool that made its debut in 2022. It is completely open-source, making it both reliable and user-friendly. The fact that it is available on scoop is particularly important to me.

RustDesk allows for unattended access, allowing remote access to the desired computer at any time. Although it may not be obvious, it is sufficient to install RustDesk as a service with privileges.

Very noticeable warning, located in the lower left corner: “Due to UAC, RustDesk may not function properly as the remote side in some cases. To avoid UAC, please click the button below to install RustDesk to the system.” should be initiated. Additionally, a password can be set. All other settings can be accessed by clicking the three dots next to the user ID.

Setup your Server

If you are interested in hosting a RustDesk server, this Linux script techahold/rustdeskinstall might be helpful. And if you prefer to set it up on a Windows Server, here is a guide: Setting up self hosted RustDesk server on Windows that might be useful.

systemctl status rustdesk*

pošto su dodali automatski: systemctl start rustdesksignal.service systemctl start rustdeskrelay.service


pm2 save

Open ports:

ufw allow 21115:21119/tcp

ufw allow 21116/udp

Documentation :

Public Key, you can be found it within /opt/RustDesk Server/ user are forced to entern the key (by default) can be removed in startup script

hbbs listens on 21115(tcp) and 21116(tcp/udp), 21118(tcp) hbbr listens on 21117(tcp), 21119(tcp).

Be sure to open these ports in the firewall.

21115 is used for NAT type test 21116/UDP is used for ID registration and heartbeat service 21116/TCP is used for TCP hole punching and connection service 21117 is used for Relay services, the service for connections when a direct peer-to-peer connection is not possible. 21118 and 21119 are used to support web clients. If you do not need web client (21118, 21119) support, the corresponding ports can be disabled.

RustDesk Uptime GitHub - rustdesk/uptime () (Singapore) (China), IP:

Change ports:

(4) Change ports : rustdesk

iptables -I INPUT 6 -p tcp -m state --state NEW -m multiport --dports "80,443,143,993,587,53,853,465,110,25,995,20,21,3306,22111" -j ACCEPT
iptables -I INPUT 6 -p tcp -m state --state NEW -m multiport --dports "22333,22999,41641,12000:12100,4190,10000,40110:40210,8080,8443,21115:21119" -j ACCEPT
iptables -I INPUT 6 -p udp -m state --state NEW -m multiport --dports "60000:61000,12000:12100,8080,53,21116" -j ACCEPT
date 09. Nov 2022 | modified 13. May 2024
filename: Workflow » Remote Desktop » RustDesk