Community discussions

MikroTik App
elico
Member Candidate
Member Candidate
Topic Author
Posts: 103
加入: Mon Nov 07, 2016 3:23 am

Rustdesk-server container with many neat features

Fri Nov 18, 2022 2:17 am

Rustdesk is an opensource alternative for Anydesk and Teamviewer (cannot 100% replace Teamviewer but is good enough for the price).
Rustdesk is composed of couple components:
  • A server (api and registration)
  • A relay server
  • A client
  • An installer
I have added a "secure" (password protected) http server to serve the customized installer scripts for both windows and linux desktops.

The software page is at:
https://rustdesk.com/

The source of the software are at:
https://github.com/rustdesk/rustdesk

本月的aller which I have used couple of it's components is at:
https://github.com/techahold/rustdeskinstall

The sources of my container are at:
https://github.com/elico/rustdesk-server-container

The Rustdesk services( hbbs, hbbr) are listening on ports:
  • 21115
  • 21116
  • 21116/udp
  • 21117
  • 21118
  • 21119
and it cannot be changed for now.
The web server is listening by default on port: 8080 but it's configurable using environment variables.

I will publish a video on how it looks and works later on.
One of the purposes of this container is to give SMB/Enterprises the ability to host an internal RDP and remote support service.
The only option now to publish this service publicly is using a domain name or to customize the installer for an internal one and an external one.
By default the bundled Windows AIO Powershell and Linux client installer script that downloads and installs the service enable direct IP connections and also via a relay.

This is an example on how to spin up this container in cli:
Code:Select all
/interface/bridge/add name=dockers /ip/address/add address=172.20.0.254/24 interface=dockers /interface/veth/add name=veth91 address=172.20.0.91/24 gateway=172.20.0.254 /interface/bridge/port add bridge=dockers interface=veth91 /container/config/set registry-url=https://registry-1.docker.io tmpdir=disk1/pull /container/envs/add name=rustdesk_envs key=TZ value="Asia/Jerusalem" /container/envs/add name=rustdesk_envs key=IP value="172.20.0.91" /container/envs/add name=rustdesk_envs key=DOMAIN value="172.20.0.91" /container/envs/add name=rustdesk_envs key=RELAY value="172.20.0.91" /container/envs/add name=rustdesk_envs key=HTTP_ADMIN_USER value="admin" /container/envs/add name=rustdesk_envs key=HTTP_ADMIN_PASS value="73245937-be70-4921-955d-6cba7e872b18" /container/envs/add name=rustdesk_envs key=HTTP_PORT value="80" /container/envs/add name=rustdesk_envs key=ENCRYPTED_ONLY value="0" /container mounts add dst=/data name=rustdesk_data src=/disk1/rustdesk_data /container mounts add dst=/public name=rustdesk_public_http src=/disk1/rustdesk_public_http /container/add mounts=rustdesk_data,rustdesk_public_http dns=172.20.0.254 remote-image=elicro/rustdesk-server:latest interface=veth91 root-dir=disk1/rustdesk envlist=rustdesk_envs start-on-boot=yes
Later on a Video demo
Top
elico
Member Candidate
Member Candidate
Topic Author
Posts: 103
加入: Mon Nov 07, 2016 3:23 am

Re: Rustdesk-server container with many neat features

Fri Nov 18, 2022 3:18 am

An example of usage in video of installation and operation at:
https://www.youtube.com/watch?v=DGC_Wt6HX7w
Top
用户头像
own3r1138
Long time Member
Long time Member
Posts: 610
加入: Sun Feb 14, 2021 12:33 am
Location:Pleiades
Contact:

Re: Rustdesk-server container with many neat featuresTopic is solved

Fri Nov 18, 2022 6:47 pm

Thank you for all the containers that you created and shared recently. I could certainly use this one too.
2022-11-18_20-13-34.jpg
You do not have the required permissions to view the files attached to this post.
Top
Alexybg
刚刚加入了
Posts: 20
加入: Tue Dec 13, 2016 5:10 pm

Re: Rustdesk-server container with many neat features

Wed Apr 26, 2023 4:05 pm

Is this working.
我今天试一试,但没有图片下载registry-1.docker.io ?
Top
用户头像
own3r1138
Long time Member
Long time Member
Posts: 610
加入: Sun Feb 14, 2021 12:33 am
Location:Pleiades
Contact:

Re: Rustdesk-server container with many neat features

Wed Apr 26, 2023 6:08 pm

1- pull the image with Docker or Podman.
2- save image-name > name.tar
3- use the.tar file to create a container.
Top
fragtion
Member Candidate
Member Candidate
Posts: 217
加入: Fri Nov 13, 2009 10:08 pm
Location:Johannesburg, South Africa

Re: Rustdesk-server container with many neat features

Wed Apr 26, 2023 6:18 pm

Nice container!!
Top
Alexybg
刚刚加入了
Posts: 20
加入: Tue Dec 13, 2016 5:10 pm

Re: Rustdesk-server container with many neat features

Tue May 02, 2023 4:50 pm

I have installed it but, not all working fine.
I have use Client connect local to local PC in local network, or outside to outside.
Connection Local to Outside PC or Outside to Local PC
Error Fail to connect Relay Sever .. ?

someone have same problem ?
Top

Who is online

Users browsing this forum: No registered users and 2 guests