Rustdesk Server: Difference between revisions
Jump to navigation
Jump to search
(Added categories) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:How to]] | |||
[[Category:Servers]] | |||
=Introduction= | =Introduction= | ||
Information on setting up your own private and secure Rustdesk remote access server. | Information on setting up your own private and secure Rustdesk remote access server. | ||
Line 59: | Line 61: | ||
Github Repository: https://github.com/rustdesk/rustdesk | Github Repository: https://github.com/rustdesk/rustdesk | ||
The | The Rustdesk client needs to be configured to use the Fully Qualified Domain Name (FQDN) of your server with the Security Key specified that was generated above when the server was setup. |
Latest revision as of 04:16, 18 February 2024
Introduction
Information on setting up your own private and secure Rustdesk remote access server.
Site: https://rustdesk.com/
Documentation: https://rustdesk.com/docs/en/self-host/
Server Configuration
Github Repository: https://github.com/rustdesk/rustdesk-server
- Copy docker-compose.yml file below to server
- Run docker-compose up -d, this causes the server to generate the id_ed25519 and id_ed25519.pub keyfiles
- Run docker-compose down -d to stop the server
- Copy id_ed25519* from the hbbs to the hbbr directory
- Note the key of id_ed25519.pub with a cat id_ed25519.pub, you will use this in the clients (this is the Security Key mentioned below in the Client Configuration section)
- Run docker-compose up -d
docker-compose.yml
version: '3'
networks:
rustdesk-net:
external: false
services:
hbbs:
container_name: hbbs
ports:
- 21115:21115
- 21116:21116
- 21116:21116/udp
- 21118:21118
image: rustdesk/rustdesk-server:latest
command: hbbs -r rust.example.com:21117 -k _ # replace rust.example.com with the FQDN of your server
volumes:
- ./hbbs:/root
networks:
- rustdesk-net
depends_on:
- hbbr
restart: unless-stopped
hbbr:
container_name: hbbr
ports:
- 21117:21117
- 21119:21119
image: rustdesk/rustdesk-server:latest
command: hbbr -k _
volumes:
- ./hbbr:/root
networks:
- rustdesk-net
restart: unless-stopped
Client Configuration
Github Repository: https://github.com/rustdesk/rustdesk
The Rustdesk client needs to be configured to use the Fully Qualified Domain Name (FQDN) of your server with the Security Key specified that was generated above when the server was setup.