dsh-plugin-tailscale-remote: Open Desktop DSH Web UI on Mobile via Tailscale

Preface

The Web UI of the DeepSeek Harness (DSH) desktop client listens only on the loopback address 127.0.0.1 by default. This makes local access safer, but it also means a phone on the same Wi-Fi network cannot connect to this interface. Common workarounds are changing the bind address, setting up port forwarding, or putting a reverse proxy in front—either widening the exposure surface or adding an extra layer of operations overhead.

If you are already using Tailscale and both devices are in the same tailnet, what is usually missing is simply: securely bridging the local DSH port to an HTTPS domain within the tailnet, and being able to switch it off at any time. The following introduces the community plugin dsh-plugin-tailscale-remote (maintained by kjx-talesofai). It provides a toggle in the DSH sidebar, uses tailscale serve to create the mapping and produce a QR code, so a phone browser can open the UI by scanning the code—without exposing anything to the public internet.

What is it

dsh-plugin-tailscale-remote is a DSH desktop plugin in the networking-tool category. In one sentence: on your own Tailscale tailnet, with “a single toggle”, it maps the desktop DSH Web UI from https://<device-name>.<tailnet>.ts.net/ to local 127.0.0.1:<DSH port>, and provides a pairing QR code.

It is not a phone client: on the phone side, you only need a browser tab—no extra app, no relay, no second session store. The trade-off is that a desktop machine with DSH running must be powered on and in the same tailnet as the phone. For a native Android experience, the README points to the community project DeepSeek Harness Mobile, which serves a different purpose.

The current release is v0.2.5 (MIT license). GitHub repository: kjx-talesofai/dsh-plugin-tailscale-remote; community directory page: SkillHub plugin page.

Core features

The plugin deliberately narrows its scope. Its capabilities as emphasized in the README are as follows.

In-tailnet HTTPS mapping

After enabling the “Tailscale Remote Access” toggle in the sidebar, the plugin establishes an HTTPS mapping on the tailnet. DSH still listens only on 127.0.0.1; the plugin does not change it to 0.0.0.0. TLS is terminated by tailscale serve and reverse-proxied to the local port. Only Serve is used, not Funnel, so the mapping is reachable only within the tailnet.

QR code and pairing

The panel displays the status, a QR code, and a fallback link. The phone scans the code to open the pairing page; after tapping “Enter DSH”, that browser holds a session (cookie retained for 30 days), and thereafter can directly access https://<node>.<tailnet>.ts.net/. The pairing code is one-time use and valid for 10 minutes; once used, a new one is automatically generated.

Pre-flight checks

When the toggle is turned on, it checks whether: the two devices are in the same tailnet, MagicDNS and HTTPS Certificates are enabled, and the node certificate has been issued. Missing items are explained in red text on the panel, avoiding the situation of “green light but cannot connect”. The plugin does not replace Tailscale networking itself.

Interface language

The sidebar name, panel, and help text switch in real time according to DSH “Settings → General → Language”. The pairing page and the expired-code page pick a language based on the phone browser’s Accept-Language.

Engine requirements

package.json declares: Node >=22, DSH Desktop >=0.2.0-rc.1 and <0.3.0.

Installation and activation

The plugin is not published to the npm registry. In the DSH “Add plugin” dialog, enter one of the following. A restart of the desktop client is required after installation (the host side loads it at startup).

GitHub (pinned to the currently available release):

github:kjx-talesofai/dsh-plugin-tailscale-remote#v0.2.5

For local development, an absolute path can be used, e.g. /path/to/dsh-plugin-tailscale-remote.

Equivalent command-line form:

dsh plugin --profile desktop add github:kjx-talesofai/dsh-plugin-tailscale-remote#v0.2.5

From an already-installed package or checkout, you can also install via the script (by default it installs the GitHub tag consistent with the package version):

node ~/.dsh/profiles/desktop/node_modules/dsh-plugin-tailscale-remote/scripts/install.mjs --profile desktop

The hostname is probed by the plugin at startup and registered into the harness’s trust fence; no separate configuration is needed.

Tailscale prerequisites

The README gives three steps, which others or automation can execute in order.

  1. Install Tailscale clients on the desktop and the phone, and sign in with the same account (the same tailnet).
  2. Enable MagicDNS and HTTPS Certificates on the Tailscale admin console DNS page.
  3. Verify: tailscale status shows both devices; tailscale ip -4 outputs a 100.x address.

Typical usage

  1. Turn on the Tailscale Remote Access switch in the sidebar (shown as “Tailscale Remote Access” in English UI).
  2. Scan the QR code on the panel with the phone camera, and tap Enter DSH on the pairing page.
  3. After that, that phone browser can directly open the HTTPS address shown on the panel.

Turning the switch off revokes the mapping established by tailscale serve. If a custom servePort is configured, the URL will include the port (e.g. https://<node>.<tailnet>.ts.net:8443/), and the panel will display it as well.

Uninstall: uninstall dsh-plugin-tailscale-remote from the DSH plugin list and restart. If you also want to clean up the entry, turn the switch off on the panel first.

Use cases and caveats

Who it suits

  • Those who already have Tailscale and want to view or operate the desktop DSH temporarily from a phone browser, without changing DSH’s listening address or setting up public port forwarding.
  • Those who accept that “the desktop must be online and the Tailscale client must stay running”; on Mac, sleep or closing the lid will break the tunnel, and the phone cannot connect.

Security and behavior

  • Traffic stays inside the tailnet (WireGuard); the README states the plugin does not send telemetry externally.
  • Turning the switch off ≠ sessions immediately invalidated: what is revoked is the entry mapping; already-issued session cookies may remain valid for up to 30 days.
  • The startup link carries a per-process token, and the panel only displays it within the authenticated UI; the README explains the token is not written to disk.

Compatibility and testing

The maintainer states in the README’s “Honestly speaking” section: end-to-end testing was mainly done on macOS (Apple Silicon) + DSH 0.2.0-rc.2 + Tailscale CLI 1.102.4; after DSH upgraded to 0.2.1-rc.2, the dependency surface was re-checked, but the full phone workflow was not re-run. Windows / Linux are untested; after a major DSH upgrade, upstream contracts may change, so it is advisable to check the repository’s Compatibility notes before upgrading.

Habits before installing

The DSH ecosystem advocates “everything is a plugin”; community directories such as SkillHub are independent sites with no official affiliation with DeepSeek / High-Flyer. The plugin runs with the current DSH process privileges; before installing, it is recommended to read the source code and the MIT license to confirm it meets your security policy.

Conclusion

dsh-plugin-tailscale-remote connects the “desktop loopback DSH Web UI” to an “HTTPS domain reachable only within the tailnet”, completing pairing via a sidebar toggle and a QR code, avoiding port forwarding and public exposure. If you are already using Tailscale, this is a remote-access approach with a narrow path and clear boundaries.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye