jmztaylor Posted June 21, 2022 Share Posted June 21, 2022 (edited) 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 June 21, 2022 by jmztaylor 1 Quote Link to comment
buzzra Posted June 22, 2022 Share Posted June 22, 2022 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 1 Quote Link to comment
jmztaylor Posted June 22, 2022 Author Share Posted June 22, 2022 (edited) 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 June 22, 2022 by jmztaylor Quote Link to comment
gekoch Posted June 23, 2022 Share Posted June 23, 2022 hmm ok I had to install both hbbs / hbbr to get it working... Quote Link to comment
MARAllMighty Posted June 23, 2022 Share Posted June 23, 2022 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? Quote Link to comment
gekoch Posted June 24, 2022 Share Posted June 24, 2022 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/ Quote Link to comment
Jessie Posted July 17, 2022 Share Posted July 17, 2022 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? Quote Link to comment
Jessie Posted July 17, 2022 Share Posted July 17, 2022 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 Quote Link to comment
jmztaylor Posted July 17, 2022 Author Share Posted July 17, 2022 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 Quote Link to comment
Jessie Posted July 19, 2022 Share Posted July 19, 2022 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 Thanks. I'll go for a look. Quote Link to comment
Jessie Posted July 20, 2022 Share Posted July 20, 2022 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? Quote Link to comment
jmztaylor Posted July 21, 2022 Author Share Posted July 21, 2022 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 Quote Link to comment
4554551n Posted July 25, 2022 Share Posted July 25, 2022 (edited) On 7/22/2022 at 12:59 AM, jmztaylor said: In the desktop app its here 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 July 25, 2022 by 4554551n Quote Link to comment
jmztaylor Posted July 25, 2022 Author Share Posted July 25, 2022 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. Quote Link to comment
4554551n Posted July 26, 2022 Share Posted July 26, 2022 (edited) 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 July 26, 2022 by 4554551n Quote Link to comment
jmztaylor Posted July 26, 2022 Author Share Posted July 26, 2022 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. Quote Link to comment
4554551n Posted July 27, 2022 Share Posted July 27, 2022 (edited) 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 July 27, 2022 by 4554551n Quote Link to comment
4554551n Posted July 27, 2022 Share Posted July 27, 2022 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. Quote Link to comment
Bifroest Posted September 3, 2022 Share Posted September 3, 2022 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? Quote Link to comment
Kilrah Posted October 12, 2022 Share Posted October 12, 2022 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. Quote Link to comment
barajas.uriel Posted October 24, 2022 Share Posted October 24, 2022 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. Quote Link to comment
jimb Posted February 11, 2023 Share Posted February 11, 2023 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? Quote Link to comment
Kilrah Posted February 11, 2023 Share Posted February 11, 2023 I don't have my domain specified anywhere and it works fine. Quote Link to comment
Brucetuga Posted February 14, 2023 Share Posted February 14, 2023 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! Quote Link to comment
sersh Posted June 2, 2023 Share Posted June 2, 2023 This application template has been deprecated?!?!?! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.