# Rustdesk Server

**URL:** <https://dietpi.com/forum/t/rustdesk-server/15047>\
**Category:** Requests\
**Created:** [23 November 2022 20:18 UTC](https://dietpi.com/forum/t/rustdesk-server/15047 "2022-11-23T20:18:04Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![naddel91](https://dietpi.com/forum/user_avatar/dietpi.com/naddel91/32/2564_2.png) [@naddel91](https://dietpi.com/forum/u/naddel91)\
**Post date:** [23 November 2022 20:18 UTC](https://dietpi.com/forum/t/rustdesk-server/15047/1 "2022-11-23T20:18:04Z")

</div>

Hi at all,

since AnyDesk, Teamviewer and alternatives are proprietary and expensive it would be great to get rustdesk server in dietpi.

best wishes!

---

<div class="post-metadata">

**Author:** ![StephanStS](https://dietpi.com/forum/user_avatar/dietpi.com/stephansts/32/2522_2.png) [@StephanStS](https://dietpi.com/forum/u/StephanStS)\
**Post date:** [23 November 2022 22:45 UTC](https://dietpi.com/forum/t/rustdesk-server/15047/2 "2022-11-23T22:45:06Z")

</div>

Hi @naddel91: If you could install it manually on your system and generate a step-by-step instruction, we could put this quickly into a blog post and later on investigate on it whether we can put it into our dietpi-software installer script.  
A contribution with this step-by-step instruction from you would be highly appreciated.

---

<div class="post-metadata">

**Author:** ![naddel91](https://dietpi.com/forum/user_avatar/dietpi.com/naddel91/32/2564_2.png) [@naddel91](https://dietpi.com/forum/u/naddel91)\
**Post date:** [24 November 2022 21:34 UTC](https://dietpi.com/forum/t/rustdesk-server/15047/3 "2022-11-24T21:34:26Z")

</div>

will give it a go. after countless unsuccessful tries I finally got it working (with the help of the discord support).  
[rustdesk (2).txt](https://dietpi.com/forum/uploads/short-url/lTClIumoZKkLPWrldBFAcx9VNh6.txt) (1,4 KB)

1. I succeeded by installing portainer and getting the uploaded \*.yml imported as STACK. the txt-file includes both version (x86 and arm), just use the one you need and copy/paste it into web editor (portainer).
2. I had to forward ports 21115-21119 TCP and 21116 UDP on my router to the machine that is hosting the container with rustdesk (in my case a Virtual Machine where portainer runs in dietpi).
3. then we need a DDNS and the rustdesk key file `id_ed25519.pub`.
4. insert DDNS AND Key into both machines you want to use.
5. profit! Own Relay Server should then establish the connection.

this is the source. it helped a lot:

> **[Installation :: Documentation for RustDesk](https://rustdesk.com/docs/en/self-host/install/)**
>
> Documentation for RustDesk

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [24 November 2022 22:01 UTC](https://dietpi.com/forum/t/rustdesk-server/15047/4 "2022-11-24T22:01:58Z")

</div>

> [@naddel91](#):
>
> I succeeded by installing portainer and getting the uploaded \*.yml

Usually, we don’t offer Docker container as there is not that much we can optimize or automate. We aim more for native installations.

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [25 November 2022 20:05 UTC](https://dietpi.com/forum/t/rustdesk-server/15047/5 "2022-11-25T20:05:54Z")

</div>

Here is the native installer: [rustdeskinstall/install.sh at master · techahold/rustdeskinstall · GitHub](https://github.com/techahold/rustdeskinstall/blob/master/install.sh)

Basically downloading three binaries and creating three services for them.

---

<div class="post-metadata">

**Author:** ![omavoss](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/o/258eb7/32.png) [@omavoss](https://dietpi.com/forum/u/omavoss)\
**Post date:** [10 January 2023 18:11 UTC](https://dietpi.com/forum/t/rustdesk-server/15047/6 "2023-01-10T18:11:49Z")

</div>

Please make a plugin for rustdesk, thank you.

---

<div class="post-metadata">

**Author:** ![bwims](https://dietpi.com/forum/user_avatar/dietpi.com/bwims/32/2272_2.png) [@bwims](https://dietpi.com/forum/u/bwims)\
**Post date:** [11 August 2023 14:33 UTC](https://dietpi.com/forum/t/rustdesk-server/15047/7 "2023-08-11T14:33:57Z")

</div>

Hi,

did anything come of this? I’d really like to be able to connect from anywhere on the internet.

B.

---

<div class="post-metadata">

**Author:** ![naddel91](https://dietpi.com/forum/user_avatar/dietpi.com/naddel91/32/2564_2.png) [@naddel91](https://dietpi.com/forum/u/naddel91)\
**Post date:** [12 August 2023 12:13 UTC](https://dietpi.com/forum/t/rustdesk-server/15047/8 "2023-08-12T12:13:21Z")

</div>

I would like to know, too.

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [12 August 2023 14:40 UTC](https://dietpi.com/forum/t/rustdesk-server/15047/9 "2023-08-12T14:40:54Z")

</div>

> [@MichaIng](#):
>
> Here is the native installer: [rustdeskinstall/install.sh at master · techahold/rustdeskinstall · GitHub](https://github.com/techahold/rustdeskinstall/blob/26a3e5ef9d2149f36f0676712f061f51df15f25b/install.sh)
> 
> Basically downloading three binaries and creating three services for them.

everything you need is inside the script linked above.

---

<div class="post-metadata">

**Author:** ![naddel91](https://dietpi.com/forum/user_avatar/dietpi.com/naddel91/32/2564_2.png) [@naddel91](https://dietpi.com/forum/u/naddel91)\
**Post date:** [12 August 2023 20:38 UTC](https://dietpi.com/forum/t/rustdesk-server/15047/10 "2023-08-12T20:38:50Z")

</div>

I already have rustdesk in a docker container running nicely, but it would be great if it is supported in an upcoming dietpi release so I can simply install it from the list.  
RustDesk would be a great addition to the great dietPi software catalogue.

---

<div class="post-metadata">

**Author:** ![sk-seo](https://dietpi.com/forum/user_avatar/dietpi.com/sk-seo/32/2472_2.png) [@sk-seo](https://dietpi.com/forum/u/sk-seo)\
**Post date:** [29 January 2024 19:43 UTC](https://dietpi.com/forum/t/rustdesk-server/15047/11 "2024-01-29T19:43:41Z")

</div>

Would also be interested, but will try manual installation the next days.

---

<div class="post-metadata">

**Author:** ![sk-seo](https://dietpi.com/forum/user_avatar/dietpi.com/sk-seo/32/2472_2.png) [@sk-seo](https://dietpi.com/forum/u/sk-seo)\
**Post date:** [15 March 2024 22:17 UTC](https://dietpi.com/forum/t/rustdesk-server/15047/12 "2024-03-15T22:17:47Z")

</div>

Update:

Tried to install RustDesk today.  
With the script posted by MichaIng it took me less than 30 minutes to get it running on my DietPi/RasPi 4  
plus set up my Router/Firewall etc. and create a working Windows client.

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![tanderson92](https://dietpi.com/forum/user_avatar/dietpi.com/tanderson92/32/2395_2.png) [@tanderson92](https://dietpi.com/forum/u/tanderson92)\
**Post date:** [9 June 2024 15:56 UTC](https://dietpi.com/forum/t/rustdesk-server/15047/13 "2024-06-09T15:56:14Z")

</div>

I recently installed Rustdesk on a new DietPi installation and initially seemed to have success running the install script shown above. However there are implications if you intend to use Rustdesk outside the LAN and do not have a static IP address. These implications are not addressed unless you first run `./install.sh --help` and then use the proper options to configure your servers or if you edit the signal server startup options after installation. My post discussing this is quite long and can be found here: [Rustdesk new installation and configuration](https://dietpi.com/forum/t/rustdesk-new-installation-and-configuration/20299).

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [8 November 2026 12:37 UTC](https://dietpi.com/forum/t/rustdesk-server/15047/14 "2026-11-08T12:37:04Z")

</div>

Done with version DietPi v9.20: [https://github.com/MichaIng/DietPi/pull/7842](https://github.com/MichaIng/DietPi/pull/7842)
