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

推荐订阅源

K
Kaspersky official blog
Martin Fowler
Martin Fowler
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
V
Visual Studio Blog
博客园_首页
Engineering at Meta
Engineering at Meta
The Cloudflare Blog
MongoDB | Blog
MongoDB | Blog
Blog — PlanetScale
Blog — PlanetScale
T
The Blog of Author Tim Ferriss
雷峰网
雷峰网
D
Docker
博客园 - 司徒正美
S
SegmentFault 最新的问题
M
MIT News - Artificial intelligence
博客园 - 叶小钗
博客园 - 三生石上(FineUI控件)
U
Unit 42
J
Java Code Geeks
A
About on SuperTechFans
N
Netflix TechBlog - Medium
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
Security Affairs
I
Intezer
Cisco Talos Blog
Cisco Talos Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
B
Blog RSS Feed
P
Privacy & Cybersecurity Law Blog
T
Tenable Blog
T
Threatpost
H
Hacker News: Front Page
G
Google Developers Blog
博客园 - 【当耐特】
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research
L
Lohrmann on Cybersecurity
大猫的无限游戏
大猫的无限游戏
Google DeepMind News
Google DeepMind News
A
Arctic Wolf
S
Secure Thoughts
GbyAI
GbyAI
NISL@THU
NISL@THU
S
Security @ Cisco Blogs
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Webroot Blog
Webroot Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
O
OpenAI News
Spread Privacy
Spread Privacy
Application and Cybersecurity Blog
Application and Cybersecurity Blog

筑语日志 - 生活感想

从foreverblog.cn来访的客人 - 筑语日志 还得是打球 - 筑语日志 记录的动力 - 筑语日志 手动换屏幕记录 - 筑语日志 找到自己想要的 - 筑语日志 《禅与摩托车维修艺术》节选 - 筑语日志 回家 - 筑语日志 This time, something will be different
远程工具Rustdesk - 筑语日志
mgt · 2025-05-28 · via 筑语日志 - 生活感想

故事还要从远程工作说起。都知道这两年经济不景气,但最近碰到的装修特别多,简直是各种意义的亲临战场:办公室,住处的楼下、隔壁、对面、斜对面,常去餐馆的隔壁……全都开启闷声发大财、疯狂搞装修模式,无奈的租房客只能找个安静的地方搬砖,这时候就需要带着便携本到外面,通过远程工具来连接工作主机。

之前偶尔用过ToDesk,感觉挺好用的,也一直在用,这下它就解决了燃眉之急,甚为欣慰。只是多少会有点好奇,这么好用的软件怎么会是免费的呢?改天要找找捐赠入口支持一下……没想到应验来的更快一些,直到某一天弹窗“您的免费时长已用完,请升级套餐”。此时,心情是复杂的,商业软件就是需要这样才能存活,我感叹它的先用后付体验是如此的自然,这么有用的东西当然值得支持一下,于是甚至有点开心的开通了1个月套餐。但同时,心里面也想着开源平替的事情。。。

在一周后,终于想起来找找看,于是就找到了这款Rustdesk:

https://github.com/rustdesk/rustdesk

各种平台的客户端很齐全,找了一个适配的版本下下来测试了一下,发现官网自带的server使用体验还是比较卡顿的。于是在想,自己的服务器来搭server会更快一些吗?可以测试一下,官方的说明大致如下

一、客户端安装

可以直接下载,已适配各种平台(mac的最新版本受限于macos 12.7,暂时安装低版本测试1.2.7)

二、server搭建

https://rustdesk.com/docs/en/self-host/rustdesk-server-oss/install/

1.防火墙设置,开启端口如下(以下为Ubuntu的设置,开启21114-21119到tcp、8000的tcp、21116的udp,其他平台可以自行搜索如何防火墙放行端口)

ufw allow 21114:21119/tcp
ufw allow 8000/tcp
ufw allow 21116/udp
sudo ufw enable

2.自动化脚本安装

wget https://raw.githubusercontent.com/techahold/rustdeskinstall/master/install.sh
chmod +x install.sh
./install.sh

3.安装过程中有两次提醒,一个是提醒你是选择IP模式还是域名模式,一个是要不要部署web端。对我来说,越简单越好,自然选择了IP模式,不要部署web端。安装完会给出两个关键参数,即为下面的server ip和public key

Your IP/DNS Address is <Server Ip>
Your public key is <key>
Install Rustdesk on your machines and change your public key and IP/DNS name to the above
- e You can get a free API with Addressbook etc via https://github.com/infiniteremote/installer

三、填写server参数、测试效果

注意,AB两个客户端都需要填写ID(即server的ip)和key,才能识别到

From there, note down the IP/DNS and Key shown at the end of the install and insert those into your client Settings > Network > ID/Relay server ID server and Key fields, respectively, leaving the other fields blank (see note below).

接着测试了下自己的server(5M的带宽)实际速度了,体验下来略比todesk慢,但也完全可以接受了,这样就省下来24块/月的开销。。。而此时的心情也是复杂的,自己的服务器算是产生了24块/月的实际效益?挺开心的……但毕竟todesk很好用、长期付费支持他们也挺好的,但是……这么看,开源世界在控成本的意义上是残忍的……不,残忍的只是白嫖党罢了……嗯,钞票有限、偶尔支持一下似乎可以……和解