2024-06-25
other
0

目录

客户端
服务端
docker

https://github.com/rustdesk https://rustdesk.com/docs/zh-cn/

客户端

https://github.com/rustdesk/rustdesk/releases

服务端

docker

https://rustdesk.com/docs/zh-cn/self-host/rustdesk-server-oss/install/#docker%E7%A4%BA%E8%8C%83

  1. docker-compose up 启动
dockerfile
networks: rustdesk-net: external: false services: hbbs: # RustDesk ID 注册服务器 container_name: hbbs ports: - 21115:21115 - 21116:21116 # 自定义 hbbs 映射端口 - 21116:21116/udp # 自定义 hbbs 映射端口 image: rustdesk/rustdesk-server command: hbbs volumes: - ./hbbs_root:/root # 自定义挂载目录 networks: - rustdesk-net depends_on: - hbbr restart: unless-stopped deploy: resources: limits: memory: 64M hbbr: # RustDesk 中继服务器 container_name: hbbr ports: - 21117:21117 # 自定义 hbbr 映射端口 image: rustdesk/rustdesk-server command: hbbr volumes: - ./hbbr_root:/root # 自定义挂载目录 networks: - rustdesk-net restart: unless-stopped deploy: resources: limits: memory: 64M
  1. 设置 > 网络 > ID/中继服务器
  • ID 服务器:<your_domain>:21116
  • 中继服务器:<your_domain>:21117
  • Key:服务端 /hbbs_root/.pub 文件内容