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¶
- Reverse Proxy & Isolation: Reverse proxies Tailscale traffic to the local GUI, listening only on the Tailscale address, making it invisible to the local network.
- Zero Configuration: Requires no configuration; automatically detects the Tailscale address and starts up.
- Auto-Login: When
autoTokenis enabled, the plugin automatically handles the initial login flow. - 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.
- 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.