On my list of tools to check out RustDesk (as replacement for TeamViewer, Remote Desktop and similar)
Posted by jpluimers on 2025/06/05
For non-Windows systems, I have used TeamViewer in the past and when they started being obnoxious reverted mostly to VNC derived alternatives. For Windows, I’d usually combined VPN with Remote Desktop.
Recently, I found out that during my first rectum cancer year (and for others, the first COVID-19 year), the development of RustDesk – which can be self-hosted – started as an open source project on [Wayback/Archive] GitHub – rustdesk/rustdesk: An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer. with their first commit being [Wayback/Archive] Initial commit · wabarc/wayback@650ea87 · GitHub.
I got pointed to this in [Wayback/Archive] Your Remote Desktop SUCKS!! Try this instead (FREE + Open Source) – YouTube.
One of the main things to figure out is how reliably RustDesk does firewall hole punching*.
Another personal interest is to learn more about Rust and Dart, the main programming languages in which RustDesk is written.
Here are some links:
- [Wayback/Archive] RustDesk: Open-Source Remote Desktop with Self-Hosted Server Solutions
- [Wayback/Archive] Commits · rustdesk/rustdesk · GitHub
- 20200928: [Wayback/Archive] Initial commit · rustdesk/rustdesk@35b260e · GitHub while I was in early stages of recovering from near death inbetween two surgeries
- 20210329: [Wayback/Archive] source code · rustdesk/rustdesk@d101348 · GitHub – first release (1.1.2) that got open sourced, in the middle of my first recovery year
- [Wayback/Archive] Docker :: Documentation for RustDesk
- [Wayback/Archive] Headless Linux Support · rustdesk/rustdesk Wiki · GitHub (this is something what for instance xvnc does with ease)
- [Wayback/Archive] Releases · rustdesk/rustdesk · GitHub
- [Wayback/Archive] Self-host :: Documentation for RustDesk
- [Wayback/Archive] How does RustDesk work? · rustdesk/rustdesk Wiki · GitHub using the Rendezvous protocol for service discovery and hole punching or relay server (I wonder what kind of push technology it uses)
- more about hole punching:
- Hole punching (networking) – Wikipedia
- 2003: [Wayback/Archive] How does Skype get through Firewalls and NAT Routers? • The Register
- 2006: [Wayback/Archive] How Skype & Co. get round firewalls – The H Security: News and Features (archived pages are OK, but actual page has regrettably vanished and now points to the main English Heise page)
Prior notes
After drafting this post and having a good night of sleep, I remembered the next day that I saved some old notes on RustDesk. After a few minutes of digging, I found them back – it contained history when you could use it for free through the RustDesk servers. How cool was that!
My notes
RustDesk is on my list to play around with: [Wayback/Archive] RustDesk | Open source remote desktop software | The Open Source TeamViewer Alternative
Open source virtual / remote desktop infrastructure for everyone!
A remote desktop software, the open source TeamViewer alternative, works out of the box, no configuration required. You have full control of your data, with no concerns about security. You can use our public rendezvous/relay server, or self-hosting, or write your own server.
It should be on par with TeamViewer, which originally was based on VNC (Virtual_Network_Computing), but is both open source and uses their own open protocol which is different from the RFB protocol used by all VNC implementations.
More links:
- [Wayback/Archive] rustdesk/rustdesk: Virtual / remote desktop infrastructure for everyone! Open source TeamViewer / Citrix alternative.
…
Below are the servers you are using for free, they may change over time. If you are not close to one of these, your network may be slow.
Location Vendor Specification South Korea (Seoul) AWS lightsail 1 vCPU / 0.5 GB RAM Germany Hetzner 2 vCPU / 4 GB RAM Germany Codext 4 vCPU / 8 GB RAM Finland (Helsinki) Netlock 4 vCPU / 8 GB RAM USA (Ashburn) Netlock 4 vCPU / 8 GB RAM Ukraine (Kyiv) dc.volia 2 vCPU / 4 GB RAM …
(this gives an indication how light-weight a RustDesk server can be)
- Your own server:
- [Wayback/Archive] Deploy your own server
Own Your Server
Server program is not required, our public server is free for your use. But if you seek for better network and higher security, we provide you with open source and free server program. - [Wayback/Archive] rustdesk/rustdesk-server: RustDesk Server Program
- [Wayback/Archive] Self-host :: Documentation for RustDesk
- [Wayback/Archive] Installation :: Documentation for RustDesk
hbbs– RustDesk ID/Rendezvous serverhbbr– RustDesk relay server
…
- script is tested working with CentOS Linux 7/8, Ubuntu 18/20 and Debian. A server with 1 CPU, 1 GB and 10 GB disk is plenty to run RustDesk.
- Docker when you have Docker/Podman installed to run a rustdesk-server as a docker container:
- Linux/amd64
- Linux/arm64v8
- [Wayback/Archive] Windows & pm2 or NSSM :: Documentation for RustDesk
…
you can either use pm2 (easier) or NSSM (a bit harder) to start the rustdesk server There are some benefits to using NSSM:- Backwards compatibility with older windows (Windows Server 2008R2/Windows 7 and earlier although untested).
- Ideal for Windows Server
- Auto start on boot without login (The user who created the startup entry does not need to log on for it to start).
- Running both binaries as Services.
- Standalone (no dependency on nodejs)
While the benefits of pm2 include:- Good idea if you run the server on the same computer as your main work computer
- You logon regularly to the user that created the rustdesk startup entry
- More user friendly
…
- [Wayback/Archive] Synology :: Documentation for RustDesk (requires Synology DSM v6 and uses Docker)
- [Wayback/Archive] Installation :: Documentation for RustDesk
- [Wayback/Archive] rustdesk/rustdesk-server-demo: A working demo of RustDesk server implementation
- [Wayback/Archive] Deploy your own server
- [Wayback/Archive] RustDesk web beta
- [Wayback/Archive] How does RustDesk work? · rustdesk/rustdesk Wiki
- PNG Image Source: [Wayback/Archive] RustDesk 源码阅读 – 腾讯云开发者社区-腾讯云
- [Wayback/Archive] Working principle · Issue #594: issuecomment-1138342668 · rustdesk/rustdesk (PNG in issue)
- [Wayback/Archive] Working principle · Issue #594: issuecomment-1148133777 · rustdesk/rustdesk (PlantUML diagram in issue)
- [Wayback/Archive] Working principle · Issue #594: issuecomment-1434724928· rustdesk/rustdesk (mermaid tool sequence diagram in issue)
- [Wayback/Archive] rustdesk (@rustdesk) / Twitter
Note that spring 2023, their beta web-access had a certificate problem so I tweeted [Wayback/Archive] Jeroen Wiert Pluimers @wiert@mastodon.social on Twitter: “Hi @rustdesk, I just noticed that http://web.rustdesk.com runs on the CN http://rustdesk.com certificate (without a subdomain) which results in NET::ERR_CERT_COMMON_NAME_INVALID I know it’s beta, but still would appreciate fixing it (;”
This might have never worked as per:
Query: [Wayback/Archive] rustdesk protocol – Google Search
--jeroen








Leave a comment