服务端
部署(docker-compose)
version: '3'
services:
hbbs:
image: rustdesk/rustdesk-server:latest
container_name: hbbs
command: hbbs -r hbbr:21117
restart: always
depends_on:
- hbbr
networks:
- rustdesk-net
ports:
- 21115:21115
- 21116:21116
- 21116:21116/udp
- 21118:21118
volumes:
- ./hbbs:/root
hbbr:
image: rustdesk/rustdesk-server:latest
container_name: hbbr
restart: always
command: hbbr
networks:
- rustdesk-net
ports:
- 21117:21117
- 21119:21119
networks:
rustdesk-net
获取加密key
cat hbbs/id_ed25519.pub
客户端
- 下载RustDesk
客户端配置
RustDesk客户端默认会连接海外的官方服务器,国内不稳定,建议自建服务端
key密钥是加密通信使用,不加密不填写即可
复制下面的字符串,导入配置即可
- 设置-网络-ID服务器-导入
=0nI9kEc1J3VjJFVrJUdrNHZaVVRoVFNyUEO1EkSyNFb2JlYzMEMIFXTjlnNFBnI6ISeltmIsIiI6ISawFmIsIyNxETMyozMzEjL4MjL0IjLwITMiojI5FGblJnIsIiNxETMyozMzEjL4MjL0IjLwITMiojI0N3boJye
...