NewDisplayName Posted June 19, 2022 Share Posted June 19, 2022 (edited) Hi, i think there was a forum where you could ask for templates for dockers, but i coulnt find it, so please shove it there if there is a better place for this. Ive found the following docker: https://github.com/rustdesk/rustdesk its a free teamviewer alternate you can host on your own server (which would be perfect for unraid if you ask me). I could install it via community apps but i cant find any variables and there is no log. The docker starts and stops immediatly. The tutorials are complete useless for me, i cant figure it out. Maybe someone knows something. I tried: root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='rustdesk-server' --net='bridge' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e HOST_HOSTNAME="Unraid-Server" -e HOST_CONTAINERNAME="rustdesk-server" -e 'Community_Applications_Conversion'='true' -l net.unraid.docker.managed=dockerman 'rustdesk/rustdesk-server' Thanks! Edited June 19, 2022 by nuhll 1 Quote Link to comment
jmztaylor Posted June 19, 2022 Share Posted June 19, 2022 This worked for me docker run --name hbbs -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v /mnt/user/appdata/rustserver-hbbs:/root -d --rm rustdesk/rustdesk-server hbbs Quote Link to comment
NewDisplayName Posted June 19, 2022 Author Share Posted June 19, 2022 are you sure this is how it works? Ive read there is hbbs and hbbr (relay or something) is both included bc in your command it seem slike only hbbs? (what ever that means xD) Quote Link to comment
jmztaylor Posted June 19, 2022 Share Posted June 19, 2022 2 minutes ago, nuhll said: are you sure this is how it works? Ive read there is hbbs and hbbr (relay or something) is both included bc in your command it seem slike only hbbs? (what ever that means xD) From what I understand from quick read is relay is needed for external connections. I was able to run that command and connect from my phone to computer. But running this should work for the relay docker run --name hbbr -p 21117:21117 -p 21119:21119 -v /mnt/user/appdata/rustserver-hbbr:/root -d --rm rustdesk/rustdesk-server hbbr Quote Link to comment
jmztaylor Posted June 19, 2022 Share Posted June 19, 2022 Also, FWIW I couldn't get it to run from the docker GUI either. Not sure why Quote Link to comment
chopeta Posted June 21, 2022 Share Posted June 21, 2022 I am also very interested in this template... I hope someone can create one for the community. Quote Link to comment
jmztaylor Posted June 21, 2022 Share Posted June 21, 2022 I got this in CA now. Both server and relay 2 Quote Link to comment
chopeta Posted June 21, 2022 Share Posted June 21, 2022 (edited) 1 hour ago, jmztaylor said: I got this in CA now. Both server and relay Awesome! Really appreciate. Testing it now. EDIT: Working like a charm. Big thanks!!! Edited June 21, 2022 by chopeta Quote Link to comment
tafilaj Posted June 21, 2022 Share Posted June 21, 2022 Hi, This might be a silly question but how do you get the server to point to relay server? Internally server works great but externally it fails, with the ports forwarded. by the way great job @jmztaylor. Thanks Quote Link to comment
jmztaylor Posted June 21, 2022 Share Posted June 21, 2022 14 minutes ago, tafilaj said: Hi, This might be a silly question but how do you get the server to point to relay server? Internally server works great but externally it fails, with the ports forwarded. by the way great job @jmztaylor. Thanks Honestly, I just saw this software the other day and started messing with it. The relay I don't know the exact purpose of. Opening 21116 in your firewall will allow external connections and not specifying relay server. So for the settings put your_ip:21116 as the ID server. At least for me it did. Relay might have to do with NAT transversal or something. Quote Link to comment
chopeta Posted June 22, 2022 Share Posted June 22, 2022 Working fine for me... with encryption enabled (without encryption is also working fine) I've installed both server and relay and forwarded all ports in my firewall. I've also added DNS entries for both public and internal DNS servers so I could use my own sub-domain name in the clients. Quote Link to comment
Vitor Ventura Posted June 22, 2022 Share Posted June 22, 2022 Can't make this work, external connections... Ports are open 21115, 21116 and 21118 in pfsense, tested, but, never connects. Quote Link to comment
chopeta Posted June 23, 2022 Share Posted June 23, 2022 On 6/21/2022 at 5:49 PM, tafilaj said: Hi, This might be a silly question but how do you get the server to point to relay server? Internally server works great but externally it fails, with the ports forwarded. by the way great job @jmztaylor. Thanks You must set "ID Server:" on the client to your public-ip or hostname. Ports must be opened/forwarded in your firewall. This is mine on a Windows 11 machine, once you click OK you should see a green button + "Ready" in the status bar. Quote Link to comment
chopeta Posted June 23, 2022 Share Posted June 23, 2022 7 hours ago, Vitor Ventura said: Can't make this work, external connections... Ports are open 21115, 21116 and 21118 in pfsense, tested, but, never connects. Hey Vic, this is what I did, maybe it will help you... First, I tested using LAN IP of the server (same as my UnRAID) - I was connected to the same LAN. Then, I've set a NAT on my firewall - also pfSense - for all the ports described in the docs (see below with my UnRAID LAN IP masked) Finally, I've set a DNS record so I could use it instead of my public IP. I know this is basic, but make sure your UnRAID server can actually access the internet trough your firewall. If still not working, maybe logs and error msgs may help indicate the problem. Good luck! Quote Link to comment
Vitor Ventura Posted June 23, 2022 Share Posted June 23, 2022 4 hours ago, chopeta said: Hey Vic, this is what I did, maybe it will help you... First, I tested using LAN IP of the server (same as my UnRAID) - I was connected to the same LAN. Then, I've set a NAT on my firewall - also pfSense - for all the ports described in the docs (see below with my UnRAID LAN IP masked) Finally, I've set a DNS record so I could use it instead of my public IP. I know this is basic, but make sure your UnRAID server can actually access the internet trough your firewall. If still not working, maybe logs and error msgs may help indicate the problem. Good luck! Hello, thanks for your help. Locally, only connects with internal IP, but, tried now in work, and works at first try. 🤷♂️ Need to check something in my computer. Thanks. 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.