惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
腾讯CDC
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
K
Kaspersky official blog
V
Visual Studio Blog
博客园 - 聂微东
Recent Commits to openclaw:main
Recent Commits to openclaw:main
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
云风的 BLOG
云风的 BLOG
T
Tailwind CSS Blog
C
Check Point Blog
H
Heimdal Security Blog
The GitHub Blog
The GitHub Blog
Google Online Security Blog
Google Online Security Blog
P
Proofpoint News Feed
AI
AI
The Register - Security
The Register - Security
SecWiki News
SecWiki News
Help Net Security
Help Net Security
T
Troy Hunt's Blog
V
V2EX
T
Tenable Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Forbes - Security
Forbes - Security
P
Privacy International News Feed
Microsoft Azure Blog
Microsoft Azure Blog
A
About on SuperTechFans
Recorded Future
Recorded Future
C
Cybersecurity and Infrastructure Security Agency CISA
博客园 - 司徒正美
博客园 - 叶小钗
Y
Y Combinator Blog
人人都是产品经理
人人都是产品经理
S
Security @ Cisco Blogs
罗磊的独立博客
Apple Machine Learning Research
Apple Machine Learning Research
L
LINUX DO - 最新话题
V2EX - 技术
V2EX - 技术
The Cloudflare Blog
Jina AI
Jina AI
T
The Exploit Database - CXSecurity.com
L
Lohrmann on Cybersecurity
Webroot Blog
Webroot Blog
美团技术团队
N
News and Events Feed by Topic
小众软件
小众软件
Google DeepMind News
Google DeepMind News
G
GRAHAM CLULEY
阮一峰的网络日志
阮一峰的网络日志
B
Blog

Cirry's Blog

前端框架搭建需要注意的版本问题 - Cirry's Blog Vue3项目对接阿里云滑动验证功能 - Cirry's Blog Windows下使用Scoop包管理器 - Cirry's Blog 记录PayPal账户被盗刷后的资金找回过程 - Cirry's Blog 前端AI应用-SSE流式渲染 - Cirry's Blog S15总决赛KT vs T1的观后感 - Cirry's Blog 在上家公司工作五年离职了 - Cirry's Blog 解决前端打印痛点 - Cirry's Blog FC游戏《仙剑奇侠》攻略 - Cirry's Blog FilesGallery-0.13.1破解版无弹窗 - Cirry's Blog FC游戏《黄金太阳》通关 - Cirry's Blog FC《荆轲新传》迷宫全地图 - Cirry's Blog 群晖安装acme.sh自动更新证书 - Cirry's Blog 群晖使用docker部署transmission - Cirry's Blog 群晖使用docker部署moviepilot-v2 - Cirry's Blog 父亲 - Cirry's Blog Rollup配置和常用插件 - Cirry's Blog 《机械迷城》通关图鉴和攻略 - Cirry's Blog Docker安装CI/CD工具Drone实现自动化部署博客 - Cirry's Blog
Docker安搭建rustdesk中继服务器 - Cirry's Blog
2025-06-05 · via Cirry's Blog

官方网址

rustdesk官方网站

rustdesk自建指南

搭建

1

services:

2

hbbs:

3

container_name: hbbs

4

image: rustdesk/rustdesk-server:latest

5

environment:

6

- ALWAYS_USE_RELAY=Y

7

command: hbbs

8

volumes:

9

- ./data:/root

10

network_mode: "host"

11

12

depends_on:

13

- hbbr

14

restart: unless-stopped

15

8 collapsed lines

16

hbbr:

17

container_name: hbbr

18

image: rustdesk/rustdesk-server:latest

19

command: hbbr

20

volumes:

21

- ./data:/root

22

network_mode: "host"

23

restart: unless-stopped

创建data目录

1

root@VM-12-5-debian:~/docker-compose/rustdesk# tree

2

# .

3

# ├── data # 新建这个目录,目录里的文件在容器启动会生成

4

# │ ├── db_v2.sqlite3

5

# │ ├── db_v2.sqlite3-shm

6

# │ ├── db_v2.sqlite3-wal

7

# │ ├── id_ed25519

8

# │ └── id_ed25519.pub # 客户端配置KEY需要用到

9

# └── docker-compose.yml

10

#

11

# 2 directories, 6 files

启动

防火墙修改

放行TCP端口:21115-21119,放行UDP端口:21116。

default

客户端配置

在rustdesk客户端的 设置 -> 网络 -> ID/中继服务器中配置如下:

  • ID服务器:填写服务器ip地址
  • KEY:在data/id_ed25519.pub中获取

1

root@VM-12-5-debian:~/docker-compose/rustdesk# cat data/id_ed25519.pub

2

38K9vF4SZqxxxxxxxxxxxxxxxxxxxxxxxWVlX3CuHs= #复制这一段文本填写到KEY中

default

到这里就算配置完成了,比向日靠流畅多了。