dsh-simple-remote: Remote Access to DeepSeek Harness via Tailscale

DeepSeek Harness (DSH) provides a web-based graphical interface that facilitates local agent development. However, directly accessing local services from mobile devices typically requires complex port forwarding or exposing the local network, which introduces security risks. The dsh-simple-remote plugin leverages Tailscale to establish a network tunnel, securely exposing the DSH web interface to devices connected to the same Tailnet without opening it to the local network or the public internet.

Plugin Introduction

This is a client plugin maintained by ivanant, released under the MIT license. It achieves Tailscale-only access by opening a listening port on the Tailscale network interface address and reverse proxying to the local DSH web service (the GUI for dsh --profile web).

Core Features

  1. Reverse Proxy & Isolation: Reverse proxies Tailscale traffic to the local GUI, listening only on the Tailscale address, making it invisible to the local network.
  2. Zero Configuration: Requires no configuration; automatically detects the Tailscale address and starts up.
  3. Auto-Login: When autoToken is enabled, the plugin automatically handles the initial login flow.
  4. Security Preservation: Retains DSH’s native authentication mechanism and Host/Origin protection barriers. The proxy layer only rewrites Host/Origin to the loopback address, without adding new trusted domains.
  5. Streaming Support: Passes through WebSocket and SSE event streams transparently.

Installation and Activation

Install it on the plugin page of the DSH web interface, or execute the following in the terminal:

dsh plugin --profile web add dsh-simple-remote@latest

After installation, the listening address will appear in the startup logs. It will also be displayed in the settings page with a one-click copy function.

Usage

On a phone connected to Tailscale, simply open http://<your-tailnet-address>:3080/ to access. During the first visit, the plugin automatically completes the login, and the browser will subsequently remember the session for 30 days.

Configuration and Security

By default, autoToken is set to true. This implies that anyone who can connect to the port effectively gains full control of the machine; the security boundary relies entirely on Tailscale ACLs. If you are using a shared Tailnet (e.g., with a team or family), it is recommended to set autoToken to false, in which case access requires a full link containing ?token=....

In either mode, the port is bound exclusively to the Tailscale address and never to 0.0.0.0.

Notes

  • IPv4 Only: Currently, only IPv4 Tailscale addresses are supported.
  • Insecure Context: Using HTTP on mobile is considered an insecure context, so some browser APIs (such as Service Worker) are unavailable.
  • Address Changes: You must restart the dsh process if the Tailscale address changes.
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye