Introduction¶
The DeepSeek Harness (DSH) Web GUI only listens on the local loopback address by default. When you’re in the office or on the go and want to open the Harness UI on the same machine from your phone or another computer, the common approaches are a public IP, port forwarding, or rebinding DSH to the network interface — but Harness itself deliberately refuses to bind externally, staying only on 127.0.0.1. Below we introduce the community plugin dsh-tailscale-access: without changing DSH’s listening address, it connects the browser entry point to the local Web GUI via Tailscale Serve or (experimental) cloudflared quick tunnel.
What This Is¶
dsh-tailscale-access is a DSH plugin released by maintainer why-did. The npm package name and install name are both dsh-tailscale-access; the plugin settings area, HTTP routes, and state files still use the remote-access naming. It is categorized as a networking tool: it solves remote access in scenarios where there is “no public IP, no port forwarding, and DSH still only listens on 127.0.0.1:3080”.
The current version is 0.1.x (package.json declares 0.1.0). The README clearly states it is in an early stage: it has automated tests and the author uses it daily on their own machines, but the interface, defaults, and behavior may still change between versions, and it has not yet been hardened for hostile networks or multi-user shared hosts. Before enabling it, it’s recommended to spend two minutes reading the security notes and IMPORTANT warnings in the repository.
How It Works (Overview)¶
The request path is summarized in the README as:
phone / another computer
│ tailscale serve (within the tailnet, end-to-end encrypted)
│ or cloudflared quick tunnel (public HTTPS)
▼
local rewriting front door 127.0.0.1:8787
│ Host → 127.0.0.1:3080; strip Origin/Referer/Sec-Fetch-Site;
│ inject harness's own browser cookie
▼
dsh web 127.0.0.1:3080 (unaware of external access)
The front door listens on 127.0.0.1:8787 by default, while DSH always stays on 127.0.0.1:3080; what the plugin does is local reverse proxying and tunnel orchestration, rather than making Harness listen externally.
Environment and Dependencies¶
Before installing, check the README and the engines field in package.json:
- DSH:
0.1.5-rc.2(next) or0.1.6-alpha.2+(alpha). Older builds (e.g.,0.0.1-rc.1, which npm still marks aslatest) lack the card slot this plugin can register, and enabling will fail withDSH_VERSION_UNSUPPORTED. - Node: 20 or newer (the plugin only uses Node built-in modules).
tailscalemode:tailscaleCLI installed and logged in, tailnet HTTPS Certificates enabled, and permission to configuretailscale serve(on Linux this typically requires being a tailscale operator).quickmode (experimental, not exposed in the panel): requirescloudflared; whenallowDownloadis true, on first use it will be downloaded to$DSH_HOME/cache/cloudflared, or point to an existing binary viacloudflaredPath.nonemode: no extra dependencies; only used to diagnose the front door and login paths; it does not publish externally by itself.
Core Features¶
Three Modes (only one runs at a time)¶
| Mode | Entry Point | Authentication | Description |
|---|---|---|---|
tailscale (default) |
tailscale serve --https=443 pointing to the front door |
tailnet identity (Tailscale-User-Login + allowlist) |
Stable URL: https://<machine>.<tailnet>.ts.net, end-to-end encrypted, no password |
quick (experimental) |
cloudflared quick tunnel | Password (optional source CIDR allowlist) | Still being tested and not provided in the panel; requires writing mode: quick in settings. Public HTTPS, URL changes each startup, requires explicit risk acknowledgement |
none |
loopback front door only, no tunnel | Password | For diagnostics; does not publish externally |
Switching modes tears down the old entry point before establishing the new one. Tailscale Funnel and tagged nodes do not carry identity headers and will be rejected.
Security Model (read before enabling)¶
The plugin provides the “external entry point” that DSH itself refuses: disabled by default, while the backend GUI can execute commands. The README emphasizes treating this entry point like an SSH port — keep it inside the tailnet as much as possible, and understand the trade-offs.
Key points include:
tailscalemode: only trustsTailscale-User-Loginfrom loopback (tailscaled proxy) when proxy headers are enabled; client-spoofedTailscale-User-*headers are ignored; requests without an identity header return403.- Allowlist fail-closed: an empty
allowedUsersmeans “only this node’s own login” (parsed fromtailscale status --jsonwhen enabling); if it cannot be resolved, enabling is rejected; there is no “empty means everyone” semantics. quick/none: password must be at least 8 characters;quickalso requiresacknowledgeRisk: true. Sessions are HMAC-signed cookies; the defaultsessionHoursis 72; failed logins are rate-limited by IP.- The front door only binds
127.0.0.1; disabling the switch will runtailscale serve reset, close the front door, and clear sessions, leaving no listeners behind. - Anyone who can access the GUI can approve tool calls, which may authorize command execution; the allowlist or password is the access boundary.
For the complete details, refer to the GitHub README (content beyond the truncated material should be read directly in the repository).
Installation and Enabling¶
Install from the Plugins page (recommended)¶
In DSH 0.1.6-alpha.2+, open Plugins in the sidebar, select Add plugin, enter the package name, and install:
dsh-tailscale-access
Checking Enable now will write the profile dependency and the dsh.profile.bundles entry at the same time.
Manual installation¶
Install the dependency in the Web profile directory (default ~/.dsh/profiles/web):
cd ~/.dsh/profiles/web
pnpm add dsh-tailscale-access
Add the package name to dsh.profile.bundles in the profile’s package.json and keep the dependency, for example:
// ~/.dsh/profiles/web/package.json
{
"dependencies": {
"dsh-tailscale-access": "^0.1.0"
},
"dsh": {
"profile": {
"bundles": [
"@deepseek-ai/dsh-base",
"@deepseek-ai/dsh-web-app",
"dsh-tailscale-access"
]
}
}
}
If the profile is configured with "patchReload": "live", changes to the manifest will trigger an automatic reassembly; otherwise you need to restart dsh web. You can also use dsh plugin --profile web add dsh-tailscale-access outside the profile directory, which has the same effect as the pnpm steps above.
Open the configuration card¶
Sidebar Plugins → Remote Access (Official group). This is the configuration page, not the read-only plugin list under Settings → Plugins.
Typical Usage¶
- Confirm that the DSH and Node versions meet the requirements, and that Tailscale is logged in with Serve permissions (if using the default
tailscalemode). - Install and enable the plugin, then turn on the remote access switch in the Remote Access card as documented (default
tailscalemode). - On a phone or another computer that has joined the same tailnet, open the browser at the MagicDNS address
https://<machine>.<tailnet>.ts.net; identity is provided by the tailnet, so there is no need to configure--trusted-hostor a browser harness token for DSH. - If you only want to verify the front door and password login path without publishing externally, you can use
nonemode for diagnostics. quickmode: the README states it is experimental and not exposed in the panel; if you configuremode: quickyourself in the settings area, you must set a password,acknowledgeRisk: true, and understand the public temporary URL and extra risks.
Use Cases and Notes¶
Who it’s for: developers or self-hosters who already use the DSH Web and want to access the GUI from devices inside the tailnet (or who explicitly accept the experimental public tunnel approach) without changing Harness’s loopback binding.
Important notes:
- The plugin runs with the current dsh process privileges; before installing and enabling, read the source code and LICENSE (MIT) and assess for yourself whether you accept the risk that “remote GUI ≈ remote command approval surface”.
- 0.1.x is early-stage software; the interface and behavior may change. If you have issues, you can report them in the GitHub Issues.
- The community directory SkillHub plugin page and DeepSeek / High-Flyer have no official affiliation; the DSH ecosystem emphasizes “everything is a plugin”, and the facts in this article are based on the repository README and package declarations.
Conclusion¶
dsh-tailscale-access uses a single switch to put the DSH Web GUI behind Tailscale Serve (or the optional cloudflared quick tunnel); the front door still only rewrites Host and cookies on the local loopback, while Harness continues to listen on 127.0.0.1:3080. If your pain point is “no public network, don’t want to touch DSH’s binding, but still want to open the GUI from a phone inside the tailnet”, you can read the security section of the README first before deciding whether to enable it.
- Directory page: https://www.skillhub.cn/plugins/why-did/dsh-tailscale-access
- Source code and docs: https://github.com/why-did/dsh-tailscale-access