DSH Plugins
返回列表
🧰

dsh-cftunnel

联网工具 更新于 2026.08.16

在终端中运行以下命令:

dsh plugin install weicy98/dsh-cftunnel

将以下提示词粘贴到 DeepSeek Harness 对话框中:

在 DeepSeek Harness 终端中运行 dsh plugin install weicy98/dsh-cftunnel 即可安装该插件,安装前可查看开源地址 https://github.com/weicy98/dsh-cftunnel 了解详细文档。

插件介绍

The DeepSeek Harness web UI binds to 127.0.0.1:3080 by design, which means the moment you step away from your machine the interface is unreachable. dsh-cftunnel bridges that gap with a single Cloudflare Tunnel that safely publishes the local port to the public internet. The plugin downloads and caches cloudflared on its own at first Connect, so there is no package manager, no manual binary placement, and no service restart to worry about.

Three modes cover the full spectrum of use. Quick tunnel requires no Cloudflare account and hands back a random trycloudflare.com URL in seconds; Tunnel token plugs into a tunnel you already provisioned in the Zero Trust dashboard; API token lets the plugin create the tunnel, ingress rules, DNS CNAME, and even an Access email-OTP policy for you through the Cloudflare HTTP API. Every request transits a loopback reverse proxy that rewrites the Host header and strips Origin so the harness trust fence accepts it fully, while an access-token gate and an optional Cloudflare Access OTP layer keep remote visitors in check.

This plugin is a good fit for solo developers and small teams who run dsh web locally but occasionally need to share the interface with a colleague, debug from a different machine, or spin up a quick demo link. One install, a few fields in Settings, and a single Connect click turns an otherwise local-only UI into a safe, shareable remote endpoint.

使用场景

  • 远程调试本地 dsh web 界面,无需额外配置
  • 与同事快速共享本地开发环境的演示链接
  • 一键生成临时公网 URL,无需 Cloudflare 账号

适合人员

  • 使用 dsh web 的独立开发者
  • 需要远程协作的小型团队
  • 希望安全暴露本地服务的运维工程师