rustdesk 3831e4cbac fix
2025-06-18 18:38:01 +09:00

3.0 KiB
Raw Permalink Blame History

title weight
Windows 安装 5

{{% notice note %}} Windows 安全策略比较复杂,如果此教程对您不适用,或者您遇到不稳定的连接,请迁移到 Linux 服务器。 {{% /notice %}}

{{% notice note %}} GUI 版本 RustDeskServer.setup.exe 已不再维护,不推荐使用。 {{% /notice %}}

安装

在 Windows 上运行 rustdesk 需要 Microsoft Visual C++ Redistributable。您可以在这里下载。

  1. https://rustdesk.com/pricing.html 获取您的许可证,更多详情请查看许可证页面。
  2. GitHub 下载 Windows 安装程序。
  3. 解压 Windows 安装程序。
  4. 运行安装程序并按照屏幕上的步骤进行。或者手动安装 PM2 或 NSSM
  5. 完成后打开 RustDesk Server。
  6. 按照提示进行安装。
  7. 点击 Services 然后点击 Start
  8. 安装完成后访问 http://youripaddress:21114
  9. 使用用户名 admin 和密码 test1234 登录。
  10. 输入您在第 1 步中购买的许可证代码。

使用 IIS 作为代理

请确保已安装 Dynamic Content Compression(这是一个 IIS 功能,可以通过服务器角色安装)。

  1. 打开 IIS或安装它
  2. 为 RustDesk 创建一个新网站,设置绑定(理想情况下为 443和相关证书。基本设置应该指向一个空白文件夹。如果您使用默认站点请确保文件夹中没有其他文件
  3. 在 IIS 上,安装 Application Request RoutingURL Rewrite

应用程序请求路由

  1. 在 IIS 服务器主机下打开应用程序请求路由。
  2. 转到 Server Proxy Settings。
  3. 启用代理,所有设置都会出现,您可以保持默认值。
  4. 保存设置然后我们可以进入下一步URL Rewrite。

URL Rewrite

  1. 在左侧面板中打开 IIS 上的站点,双击 URL Rewrite。
  2. 点击 Add rules
  3. 设置一个新的反向代理规则。
  4. 设置本地地址RustDesk 内部 21114 地址)
    Inbound Rule RustDesk 内部 21114 地址
    Outbound Rules From 是 RustDesk 内部 21114 地址,To 是外部地址。
    注意:地址前不要有 http / https 它们会被自动处理。另外,确保所有地址在内部和外部都可以访问。

压缩

  1. 禁用 Dynamic Content Compression

故障排除

如果您遇到 500.52 错误,请添加提到的变量:IIS acting as reverse proxy: Where the problems start

您可能需要将 SSL 设置更改为 “Require SSL → Ignore”。