Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] RustDesk Server

Featured Replies

This is the support thread for RustDesk Server.

 

I am not a developer of RustDesk.  Only made the template for CA.

 

Project Github: https://github.com/rustdesk/rustdesk

Edited by jmztaylor

  • jmztaylor changed the title to [Support] RustDesk Server

What's the difference between RustDeskServer and RustDeskServer-Relay? I know there is an hbbs and hbbr parts to RustDesk, is that the difference here?So we need both of these dockers installed at the same time?

 

-buzz

  • Author
1 hour ago, buzzra said:

What's the difference between RustDeskServer and RustDeskServer-Relay? I know there is an hbbs and hbbr parts to RustDesk, is that the difference here?So we need both of these dockers installed at the same time?

 

-buzz

 

Yes RustDeskServer is the hbbs and Relay is the hbbr.  I have got this to work without the relay.  Using only server and port forwarding port 21116.

Edited by jmztaylor

hmm ok I had to install both hbbs / hbbr to get it working...

I've installed both dockers but can't find any documentation that indicates how to connect anything to them, including through RustDesk themselves. Once installed, what else needs to be done for this to be functional?

7 hours ago, MARAllMighty said:

I've installed both dockers but can't find any documentation that indicates how to connect anything to them, including through RustDesk themselves. Once installed, what else needs to be done for this to be functional?

This page helped me to setup everything: https://rustdesk.com/docs/en/self-host/install/

 

  • 4 weeks later...

I have done the experiment and it seems to work.  What about encryption though? 

Is the docker set to use encryption? how do we access public and private keys during setup?

On 6/24/2022 at 8:57 AM, MARAllMighty said:

I've installed both dockers but can't find any documentation that indicates how to connect anything to them, including through RustDesk themselves. Once installed, what else needs to be done for this to be functional?

I'm on a learning curve with this, but I created an A record for my domain and pointed t to my server. (rustdesk.mydomain.com)

Then I opened the ports in the router.

Then I went to the rustdesk site and downloaded the clients.

To point the clients to my server I changed the config in the client to point to rustdesk.mydomain.com

Then the connection between the clients was similar to a teamviewer connection.

Not sure about encryption with this docker. Have asked the question

 

  • Author
9 hours ago, Jessie said:

I'm on a learning curve with this, but I created an A record for my domain and pointed t to my server. (rustdesk.mydomain.com)

Then I opened the ports in the router.

Then I went to the rustdesk site and downloaded the clients.

To point the clients to my server I changed the config in the client to point to rustdesk.mydomain.com

Then the connection between the clients was similar to a teamviewer connection.

Not sure about encryption with this docker. Have asked the question

 

 

 

https://rustdesk.com/docs/en/self-host/install/#key

 

This key is in the appdata folder.  By default its /mnt/user/appdata/rustdesk-hbbs

17 hours ago, Jessie said:

Thanks. I'll go for a look.

 

On 7/18/2022 at 1:10 AM, jmztaylor said:

 

 

https://rustdesk.com/docs/en/self-host/install/#key

 

This key is in the appdata folder.  By default its /mnt/user/appdata/rustdesk-hbbs

So do you have to insert that key in the token field when you define your server or does it happen in the docker?

  • Author
On 7/19/2022 at 11:46 PM, Jessie said:

 

So do you have to insert that key in the token field when you define your server or does it happen in the docker?

 

In the desktop app its here

Screenshot 2022-07-21 095902.png

On 7/22/2022 at 12:59 AM, jmztaylor said:

 

In the desktop app its here

Screenshot 2022-07-21 095902.png

How can I perform the steps found here
https://rustdesk.com/docs/en/self-host/install/#key

 

To mandate encryption using your containers?
I'd like to stop anyone else who finds the open ports from using them.

Also, I'm still unclear on relay vs server, could you please explain in a little more detail?
I currently have it set up using both internally, encrypted and unencrypted both work. I haven't opened the ports yet until I can enforce encryption, not just allow it.

Edited by 4554551n

  • Author
10 hours ago, 4554551n said:

How can I perform the steps found here
https://rustdesk.com/docs/en/self-host/install/#key

 

To mandate encryption using your containers?
I'd like to stop anyone else who finds the open ports from using them.

Also, I'm still unclear on relay vs server, could you please explain in a little more detail?
I currently have it set up using both internally, encrypted and unencrypted both work. I haven't opened the ports yet until I can enforce encryption, not just allow it.

 

It should just go in extra parameters when you hit advanced view on edit container.  

11 hours ago, jmztaylor said:

 

It should just go in extra parameters when you hit advanced view on edit container.  

Could you please help me with exactly what I should be putting there? I don't really know docker.
It's extra confusing because it wouldn't be an "extra" parameter, it would be modifying part of the existing docker yml, wouldn't it? Because it would already have the command to run the program in there wouldn't it?

Edited by 4554551n

  • Author
13 hours ago, 4554551n said:

Could you please help me with exactly what I should be putting there? I don't really know docker.
It's extra confusing because it wouldn't be an "extra" parameter, it would be modifying part of the existing docker yml, wouldn't it? Because it would already have the command to run the program in there wouldn't it?

 

unraid docker engine uses docker run command not docker-compose with yaml.  I misspoke. It needs to go under post arguments.  So that line will look like this.

 

/usr/bin/hbbs -k _

 

And using default appdata paths you would use the pub key at /mnt/user/appdata/rustdesk-hbbs/id_ed25519.pub and put that key into the clients.

13 hours ago, jmztaylor said:

 

unraid docker engine uses docker run command not docker-compose with yaml.  I misspoke. It needs to go under post arguments.  So that line will look like this.

 

/usr/bin/hbbs -k _

 

And using default appdata paths you would use the pub key at /mnt/user/appdata/rustdesk-hbbs/id_ed25519.pub and put that key into the clients.

Yea, i got the pub key all sorted, encryption is working well, it's just mandating it, so I can open it to the world and not have randoms try use it.

Ok, so there are two containers, the RustDeskServer and RustDeskServer-relay.
I seem to need both (internally at least, doesn't just run with the server. don't know why).
So I can go into RustDeskServer>edit and in post arguments where it has /usr/bin/hbbs, I change it to /usr/bin/hbbs -k _
and in RustDeskServer-relay>edit /usr/bin/hbbr becomes /usr/bin/hbbr -k _
Is that correct?

Also, if I do this, and open it to the world, that would stop randoms from using it legitimately. Assuming there's some issue/vulnerability in rustdesk (I'm paranoid), how much protection does unraid offer me if someone connects on one of those ports and starts doing shit?

I don't think I can even use port triggering for bonus protection because it starts with an inbound connection, yea?

Also, looking at the instructions, it seems to need
./hbbs -r <relay-server-ip[:port]> -k _
So If I set hbbs -k _, how is the relay server IP being worked into it?

Also, just for the record, you're amazing and thank you for your time!

Edited by 4554551n

Something I've just discovered is if you do this, you end up with this issue here:
https://github.com/rustdesk/rustdesk/issues/499
 

The solution as mentioned is you need to copy the key files from hbbs to hbbr, then restart hbbr.

  • 1 month later...

Hello! I am new in rustdesk.

i installed rustdesk server and rustdesk server relay.

Protocol data seems to b ok.

I have a tunnel working with nginx proxy manager.

I don't know which port to use in the proxy manager!?

And i cannot connect to my server installation.

I ve done this server installation in unraid via the app store and i also tried the installation with docker compose.

Same problem -> No Connection.

 

Is there someone out there woh can help me?

 

  • 1 month later...
On 9/3/2022 at 3:51 PM, Bifroest said:

I don't know which port to use in the proxy manager!?

It's not an HTTP app so no proxy. I've got both containers running with Host networking and directly forwarded ports 21115-21118 to the server and all works fine. 

  • 2 weeks later...
On 10/12/2022 at 2:10 AM, Kilrah said:

It's not an HTTP app so no proxy. I've got both containers running with Host networking and directly forwarded ports 21115-21118 to the server and all works fine. 

I just did a CNAME to duckdns like I do with all my other apps and then just opened the ports on the router. Everything just magically worked.

  • 3 months later...

Sorry if this has been answered somewhere and i missed it, but after loading the hbbs docker, where do i put "rustdesk.mydomain.com" within the container?   

 

command: hbbs -r rusdesk.example.com:21117

 

Is this a path, port, variable, label or device type setting that needs to be manually adding in the container?

 

 

I don't have my domain specified anywhere and it works fine. 

Hello!

I am running rustdesk on a docker container in windows OS. 

I want to change the docker host to linux but I need that the provided key in windows docker works in the new linux host. What do I need to copy to achieve my goal?

Thank you in advance! :D

 

  • 3 months later...

This application template has been deprecated?!?!?! :(

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.