r/rustdesk • • 11h ago

I built an open-source AnyDesk/TeamViewer alternative with a one-command self-hosted server (Rust, Windows + macOS)

0 Upvotes

Hi r/rustdesk,

I do remote IT support for a living and got tired of free-tier limits and

"commercial use" lockouts, so I wrote RemoteFerry: a remote desktop app with

its own rendezvous server that you can host yourself.

**Self-hosting**

git clone https://github.com/pnatale/remoteferry.git

cd remoteferry/deploy

cp .env.example .env # set RF_DOMAIN and RF_TURN_SECRET

docker compose up -d

That gives you the rendezvous server, a coturn TURN relay and TLS. Ports:

80/443 TCP, 3478 TCP+UDP, 49160-49200 UDP. In the app: Settings → Server →

wss://your-domain/ws. There's also an admin dashboard (online devices, active

sessions, bandwidth, kick/block a device, and notices that show up in every

connected app).

**The app** (Windows and macOS, v0.1.8)

- ID + one-time password, or unattended access with a permanent password

- up to 60 fps with adaptive quality, multi-monitor

- clipboard sync, file transfer, remote audio, chat, privacy mode

- auto-reconnect after the remote machine reboots

- address book with online/offline status

**Security**: the server never sees passwords or the session.

- Ed25519 device keys

- SPAKE2 + Argon2id for the password

- end-to-end encrypted WebRTC, peer-to-peer when possible

It hasn't been audited yet, details in the README.

Known gaps: no Linux client yet, Windows login screen/UAC not controllable

yet, Windows build not code-signed (SmartScreen warning).

Apache-2.0: https://github.com/pnatale/remoteferry

Site: https://remoteferry.com

Feedback welcome, especially on the deploy and the security model.


r/rustdesk • • 17h ago

Direct IP access now that the public server needs a login: setup notes from Windows, Mac and Linux

Post image
14 Upvotes

Since RustDesk's public servers started requiring a sign-in, I moved my own machines to Direct IP access over a private network. Sharing what I ran into, since a few of these weren't obvious.

The setup Every machine is on a private overlay network (WireGuard-based), so each one has a stable private IP. On the machine being controlled: Settings → Security → Enable direct IP access (TCP 21118) + a permanent password. Then type the private IP into "Control Remote Desktop" instead of an ID. No ID server, relay or account involved, and no ports forwarded on the router. Any overlay works for this (Tailscale, ZeroTier, plain WireGuard, or HostAnywhere, which I work on).

Things that tripped me up

  1. Security section hidden on macOS (1.5.3). Settings showed the abuse notice and a login prompt instead of the Security options. Fix: quit RustDesk, add direct-server = 'Y' under [options] in ~/Library/Preferences/com.carriez.RustDesk/RustDesk2.toml, reopen. Port 21118 started listening right away.
  2. Nothing listening on 21118 even with the box ticked. The background service wasn't running, so the setting never saved. Start the service first, then enable direct IP.
  3. Port 21118 listens on every interface, not just the VPN. Anyone on the same LAN (or café Wi-Fi, on a laptop) can reach it. Turn on "Use IP whitelisting" and add only the controlling machine's private IP.
  4. "Direct and unencrypted connection" warning. Accurate: direct IP mode adds no RustDesk encryption. The session is only protected by whatever network it's running over, so keep it inside the VPN/overlay.
  5. Linux server with no monitor. On a headless XFCE box RustDesk has no physical display to capture, so I used xrdp for that one instead. Wayland desktops can also ask someone at the screen to approve each session, so Xorg is more reliable for unattended access.
  6. Mac from Windows: paste with Ctrl+V, not Cmd+V. Set View style → Scale adaptive if a Retina screen spills off the window.
  7. Alt+Tab goes to the remote machine while the session has focus. There's no "don't send special keys" toggle like RealVNC has; windowed mode plus the taskbar was my workaround.

RustDesk vs VNC on a Retina Mac Same network path. macOS Screen Sharing via a VNC viewer from Windows lagged badly when scrolling a long page; RustDesk was smooth. One setup, not a benchmark, but the difference was obvious.

I wrote the whole thing up with screenshots, including locking 21118 down with firewall rules: https://hostanywhere.io/blog/rustdesk-remote-desktop-to-any-device

Curious whether others have found a cleaner fix for #1, or a way to stop Alt+Tab being captured.


r/rustdesk • • 1d ago

RustDesk Bug on Fedora 45

2 Upvotes

I've upgraded multiple systems to Fedora 45, and now RustDesk can't be used as the controlled side anymore if using the official .rpm package.

I've seen this issue which pointed out the cause, but it got converted into a .. discussion? why?

https://github.com/rustdesk/rustdesk/issues/16843

It's not even working on a fully fresh-installed Fedora 45 system anymore for me.


r/rustdesk • • 2d ago

RustDesk now supports RISC-V (riscv64 Linux)

26 Upvotes

We've added riscv64 Linux support to RustDesk, an open-source remote desktop application.

The nightly build is available here:

https://github.com/rustdesk/rustdesk/releases/download/nightly/rustdesk-1.5.3-riscv64.deb

If you have a RISC-V machine, we'd love to hear how it works on your hardware.


r/rustdesk • • 2d ago

I put RustDesk up against AnyDesk and TeamViewer, and the results were not what I expected

Thumbnail
howtogeek.com
45 Upvotes

r/rustdesk • • 6d ago

Extremely high latency using RustDesk through a relay server in Germany – Brazil

Post image
1 Upvotes

Hi everyone,

I'm experiencing a terrible remote desktop experience using RustDesk, and I'd like some help understanding whether this is expected behavior or a network/relay configuration issue.

Our RustDesk relay server is hosted on a VPS in Germany.

My boss is the person who purchased and manages this VPS. He lives in São Paulo city, Brazil, and according to him, his experience using RustDesk has been excellent, with no significant performance issues.

However, my situation is very different.

I also live in the state of São Paulo, Brazil, but in a smaller city in the countryside. I'm responsible for providing remote technical support to numerous clients on a daily basis. I spend most of my working day accessing different computers remotely, troubleshooting problems, installing software, configuring systems, and assisting users.

My internet connection has a 1 Gbps (1000 Mbps) download speed, and I can achieve ping times as low as 2 ms in local network tests. Therefore, I'm particularly confused about why the RustDesk experience is so poor.

Unfortunately, my experience has been extremely frustrating. The latency makes even basic tasks difficult, significantly affecting my productivity and the quality of the support I can provide.

Here are the statistics from one of my sessions:

  • Delay: 420 ms
  • FPS: 2
  • Codec: VP9
  • Chroma: 4:2:0
  • Target Bitrate: 560 kbps
  • Connection type: Relay
  • Relay server location: Germany
  • My location: Countryside, São Paulo state, Brazil
  • My boss's location: São Paulo city, Brazil
  • My internet speed: 1 Gbps (1000 Mbps)
  • Local ping: As low as 2 ms

I've seen other RustDesk users on YouTube demonstrating latency around 20–40 ms with VPS servers hosted in Brazil, so I'm trying to understand why my experience is so different.

I understand that my boss may have a good experience depending on his internet connection, ISP, network routing, and geographical location.

However, I also believe that when providing remote support services primarily to users in Brazil, choosing a VPS located in Brazil, preferably in São Paulo, should be a priority rather than hosting the relay server thousands of kilometers away in Germany.

It doesn't make much sense to force Brazilian users to route their remote desktop traffic through a server on the other side of the world when there are hosting providers and data centers available locally.

For someone who relies on remote desktop connections throughout the entire workday, this level of latency is simply unacceptable. Even moving the mouse, typing, opening applications, and performing basic troubleshooting tasks becomes frustrating.

I'd really appreciate some help answering the following questions:

  1. Is this latency expected when using a relay server in Germany from Brazil?
  2. Could the relay server's bandwidth, CPU, or network routing be causing this issue?
  3. Could the difference between our ISPs or network routes explain why my boss has a good experience while mine is terrible?
  4. Is there a reliable way to establish a direct P2P connection instead of relying on the relay?
  5. Would hosting our own RustDesk server in Brazil, preferably in São Paulo, significantly improve performance?
  6. Are there any recommended network configurations or optimizations to reduce latency?

I'm not simply looking for ways to improve image quality. I want to understand the actual cause of this latency and find a reliable solution.

Remote access is an essential part of my daily work, and right now, the experience is making it extremely difficult to do my job.

I'd really appreciate any technical guidance, recommendations, or experiences from people who have dealt with similar situations.

Thank you!


r/rustdesk • • 7d ago

how to run self hosted rustdesk beeing still able to use public servers

9 Upvotes

Since some time when using id@public its required to login at account in rustdesk client. Also when using self hosted rustdesk, i was not able to connect to public servers anymore. So this meant to change config in rustdesk all the time when using one or the other.

I came up with the solution to run 2 instances of Rust Desk in Windows, each with different configurations.

Use sandboxie for 1 instance with following INI:

ForceFolder=C:\sandboxie\Rustdesk
ClosedFilePath=C:\Program Files\RustDesk
ClosedFilePath=C:\Windows\ServiceProfiles\LocalService\AppData\Roaming\RustDesk
ClosedKeyPath=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RustDesk*
ClosedKeyPath=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RustDesk*
OpenPipePath=\Device\NamedPipe\RustDesk*

So just make a new sandbox and paste the above section in sandbox settings / INI section.

OpenPipePath seems to be required since version 1.53 because something was changed in IPC server auth:
https://github.com/rustdesk/rustdesk/pull/16755
Do not use OpenPipePath if want to stay on 1.51 or older, otherwise you will get "not ready" in Rustdesk.

This prevents running both programs parallel, if you want to that, you need to use version 1.51 in sandbox.

If you want to copy your existing peers, those are in %appdata%\RustDesk\config\peers.toml including peer folder. This can be also pasted into sandboxie content folder.


r/rustdesk • • 7d ago

Enforce LAN-only access via direct IP

4 Upvotes

Hi guys. I want RustDesk on my PC to accept connections only from my local network, and only via direct IP.

This is what I've done so far:

  1. settings > security > enable direct IP access
  2. settings > security > use IP whitelisting > inserted my LAN range

The problem is that I can still reach my machine via its ID. So my question is, do I need to also change the ID server in the network settings? And should I also touch the Windows firewall?

TYIA


r/rustdesk • • 8d ago

Problems hosting with self hosting and pfsense firewall. Hosting the server in a DMZ.

3 Upvotes

Hi guys,

I am having trouble accessing a remote RustDesk client from a LAN host with RustDesk installed. If I try this from anywhere, everything works fine.

I have checked everything about the NAT forwarding, RustDesk ports, and the internal RD server IP.

Also, I have NAT reflection activated. Nothing is working. I can connect to a LAN host from my host on LAN, but it is not possible to connect to another host outside my network.

Has somebody already had this problem?

Thanks in advance for any help

Regards


r/rustdesk • • 10d ago

Looking for a software to "takeover" IT clients. Is Rustdesk it ?

13 Upvotes

I would like to do some tech support for eg old people who need help. when visiting them is not possible, i would like to "takeover" their mouse and keyboard.
I heard about TeamViewer but it it's expensive for commercial behavior, I'm looking for something that is free.
Would rustDesk fit those criteria ?

Thanks for any help !

EDIT : To answer the scammer allegations, I have a 3y diploma in IT. If there's any additional security steps to take, I'll make sure to learn about them before any takeover. dw


r/rustdesk • • 11d ago

RustDesk Wayland DRM Capture Now Available in Regular Linux Nightly Builds

33 Upvotes

DRM capture is now included in regular DEB, RPM, and Arch packages. No more separate unattended Wayland DEB!

Download: https://github.com/rustdesk/rustdesk/releases/tag/nightly

Enable it under Settings → General → Use DRM screen capture.

Please test unattended access and login screens on your distro. Feedback welcome!

PR: https://github.com/rustdesk/rustdesk/pull/17089


r/rustdesk • • 12d ago

Client ID randomly changing

5 Upvotes

Getting annoying. I'm trying to stop a computer from... Randomly changing the ID. I think every time the computer is updated or restarts, it gets a new ID. I have looked up many of the solutions that are on the web. But nothing seems to work.

- I am changing the file called meta.toml in C:\Windows\ServiceProfiles\LocalService\AppData\Roaming\RustDesk\config\

- I have tried starting rustdesk with a set id but no good.

- I have tried assigning a custom id (beginning with a letter) But I think that is only for the pro version.

Any idea of what I can do that actually works?


r/rustdesk • • 13d ago

Mouse + iPhone

1 Upvotes

Come da titolo oggi non ho alternative tipo tablet et simili

Devo comandare un macchinario da remoto e ho solo il telefono.

Con il touch mi sento un cretino

Devo necessariamente usare un mouse con una porta usb c e/o adattatore?

Thx


r/rustdesk • • 16d ago

Anti-Consumer behavior (paid license)

Thumbnail reddit.com
6 Upvotes

r/rustdesk • • 17d ago

Changing resolution on client when connecting.

7 Upvotes

Have 2x PCs, both connected to the same monitor (Dell 3440x1440), but would like to be able to primarily work on one PC, and keep the other connected, but at a smaller resolution (eg 1920x1080..).

Yes, realize I can scale the other, but, for example, if I scale it, the text on a Reddit page becomes too small to read!!

Is there any way to change resolution with the connection, but so if I swap the input, I still get full resolution in direct viewing mode??

Thanks.


r/rustdesk • • 18d ago

Easy way to automate user client configs on self hosted relays/ID servers

3 Upvotes

fyi if anyone needs, this script can be deployed to your user Macs and Linux devices

it configures a user's RD settings to use a self hosted ID and Relay server

in my setup I have 4 global Relay servers (US, London, Sydney, India)

all 4 servers run hbbr, hbbs and share the same ID keypair (base64)

when we onboard new user laptops, we install Rustdesk client and run this script for the user to configure his settings so he can use internal rustdesk relay network

the script takes in an array of my Relay public IPs, checks which relay is geographically closest (ping and tcp), and uses that in RustDesk2.toml configuration

to use this script,

  1. update the ID server (line 18) with your ID server pub IP
  2. update list of Relay servers (line 19) with pub IPs of your relays
  3. add the ID server pub key on line 26 (PUB KEY ONLY, not private key!!)

then run the script on the users laptop/desktop

sudo ./rustdesk_user_setup.sh -u jsmith

```
sudo ./user_setup.sh -u jsmith

==> Probing 4 relay servers (tcp, best of 3):

xxxxxx 28 ms

yyyyyy 95 ms

zzzzz 219 ms

aaaaa 261 ms

==> Closest relay: xxxxxxxxx (28 ms via tcp)

==> ID server: xxxxxxxx

==> Relay server: xxxxxx

==> Key: Vxxxxxxx=

==> wrote /root/.config/rustdesk/RustDesk2.toml

==> wrote /home/jsmith/.config/rustdesk/RustDesk2.toml

==> restarted rustdesk.service

==> verification:

--- /root/.config/rustdesk/RustDesk2.toml

rendezvous_server = 'xxxxxx:21116'

custom-rendezvous-server = 'xxxxx'

relay-server = 'xxxxxx'

key = 'Vxxxxxxxxxxxxx='

--- /home/jsmith/.config/rustdesk/RustDesk2.toml

rendezvous_server = 'xxxxxx:21116'

custom-rendezvous-server = 'xxxxx'

relay-server = 'xxxxxxx'

key = 'Vxxxxxxxxxxxxx='

==> Done. Quit and reopen the RustDesk window, then check Settings > Network > ID/Relay server.
```

https://gist.github.com/perfecto25/ee8d86ea0f71e39d84e2daa7648c8088


r/rustdesk • • 18d ago

Encryption not working on RD 1.5.3

1 Upvotes

Im on fedora with RD 1.5.3, using a self hosted ID and relay server

connecting to other devices with same config is showing this error

I dont have an API server (I think its PRO feature)

Anyone else seeing this?


r/rustdesk • • 21d ago

Bypassing VPN Processing For Tailscale And RustDesk?

2 Upvotes

Hi folks:

I'm just getting started with the amazing Tailscale and RustDesk software. I'm not sure who does what to secure messages.

I want to get a VPN license, probably Nord.

I don't believe there's any reason to pass messages secured by Tailscale or RustDesk through another layer of encryption by a VPN's server.

Can I expect a VPN provider's client software to allow messages from certain ports to bypass their servers?

If so, what ports will I want to exclude for messages from Tailscale and RustDesk?

Thanks Larry


r/rustdesk • • 21d ago

Rustdesk vs IP KVM (why use Rustdesk?)

5 Upvotes

I am using Rustdesk and am very happy with it

I've come across IP KVM's and am wondering.....maybe controlling hardware is better than controlling software?

Or said another way - what would you say are the advantages over Rustdesk vs a KVM.

Thanks


r/rustdesk • • 23d ago

Privacy Mode 1 multi-monitor questions/help/info

2 Upvotes

I have 3 monitors, apparently privacy mode 1 means it will only block out my "primary" monitor? I tested this on an internal setup and it seemed to block out all 3. What is the consensus here? Do I need to use Mode 2 to be 100% sure a person walking by my desk can't see what I am doing, when I am remoted in from my home? I'm on Windows 11 host.

Shouldn't there be an alert saying mode 1 would not black out all the monitors, as just a layman using it, seems pretty critical and crucial to point out, without having to do research.


r/rustdesk • • 23d ago

Self-Hosted Wake On Lan

3 Upvotes

Does anyone know if there is a way, in a self hosted RustDesk network, to make the RustServer send the magic packet instead of the client where I click the button?

Context: I have a Desktop PC in the same (home) network, but the WakeOnLan feature only work if I use it from a device within the network, so I can't turn on my PC from outside my house, even tho there is a RustDesk instance running in the house. (excluding the use of a VPN, which should work but at that point a dedicate WOL software would be more convenient )

EDIT: I'm not asking about alternative ways of turning my PC on, I can already do that. The question was specifically about RustDesk self-hosted server and the ability of using it as a WOL proxy with some arcane config I didn't know but could exist.


r/rustdesk • • 23d ago

Jak utrzymać wyświetlacz 1440p bez głowy na Linux Mint z Intel Arc i RustDesk — bez wtyczki HDMI dummy

Thumbnail reddit.com
2 Upvotes

r/rustdesk • • 24d ago

how can I pan/zoom(two finger gesture)?

2 Upvotes

I need to zoom in and out in my notes app, I activated zoom cursor on my desktop, but it doesn't seem to do anything. What do I gotta do?


r/rustdesk • • 24d ago

Headless Linux setup in PVE

6 Upvotes

RAM and GPU are so expensive now so I decided to share my workstation with my wife. I'm looking for help from real experienced users because AI failed to configure this (and it ruined the container multiple times with root).

Environment: PVE 9.2, Ubuntu 24.04 + Rocky Linux 9 in unprivileged LXC.
Graphics: NVIDIA 595 driver, CUDA driver & nvidia-container-toolkit installed on PVE. Container mounts the following:

dev0: /dev/dri/card0,mode=0666
dev1: /dev/dri/renderD128,mode=0666
lxc.hook.pre-start: sh -c '[ ! -f /dev/nvidia0 ] && /usr/bin/nvidia-modprobe -c0 -u'
lxc.environment: NVIDIA_VISIBLE_DEVICES=all
lxc.environment: NVIDIA_DRIVER_CAPABILITIES=all
lxc.hook.mount: /usr/share/lxc/hooks/nvidia
lxc.mount.entry: /usr/lib/xorg/modules/drivers/nvidia_drv.so usr/lib/xorg/modules/drivers/nvidia_drv.so none bind,ro,create=file 0 0
lxc.mount.entry: /usr/lib/xorg/modules/extensions/libglxserver_nvidia.so usr/lib/xorg/modules/extensions/libglxserver_nvidia.so none bind,ro,create=file 0 0
lxc.mount.entry: /usr/share/glvnd/egl_vendor.d/10_nvidia.json usr/share/glvnd/egl_vendor.d/10_nvidia.json none bind,ro,create=file 0 0
lxc.mount.entry: /usr/lib/x86_64-linux-gnu/gbm/nvidia-drm_gbm.so usr/lib/x86_64-linux-gnu/gbm/nvidia-drm_gbm.so none bind,ro,create=file 0 0
lxc.mount.entry: /usr/share/vulkan/icd.d/nvidia_icd.json usr/share/vulkan/icd.d/nvidia_icd.json none bind,ro,create=file 0 0

Target: Use RustDesk simultaneously on both systems. /dev/uinput shouldn't be mounted in this case. We'll run software with 3D OpenGL so RustDesk should capture the virtual display configured in /etc/X11/xorg.conf instead of using xserver-xorg-video-dummy.

I'm 100% sure the setup on PVE side is correct, because I managed to make Sunshine+Moonlight work in GNOME. But I want clipboard and file transfer support so I still need to configure RustDesk.

Tried GNOME and KDE with no luck. Is Xfce my only option here?