Rustdesk is composed of couple components:
- A server (api and registration)
- A relay server
- A client
- An installer
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
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