Preface¶
DeepSeek Harness (DSH) provides a web-based operation interface. Local access is typically restricted to localhost. The dsh-plugin-remote-access plugin resolves this issue by allowing the DSH Web GUI to be exposed to a selected CIDR range (defaulting to Tailscale’s 100.64.0.0/10), enabling access via mobile phones or remote machines.
Plugin Overview¶
- Name:
dsh-plugin-remote-access - Author: Mzy123l
- License: MIT
- Core Value: Exposes the local DSH Web GUI to a selected CIDR range (e.g., Tailscale) on DSH 0.2.1+. Supports optional numeric access codes, a mobile layout exclusively for remote pages, mobile-side resource caching, mobile-side Enter key line-breaking, and appearance/font preferences exclusively for remote pages. Configuration exists only in each Windows user’s
$DSH_HOME/remote-access-config(the plugin does not read or write shared profiles); when the port is busy, it automatically falls back to a free port and remembers it.
Core Features¶
- Network Range Exposure: Exposes the DSH GUI to a selected CIDR range (default Tailscale 100.64.0.0/10).
- Secure Listening: Only listens on allowed addresses; returns 403 for other addresses.
- No Hardcoding: Network range, listening address, port, upstream, and file paths are all configurable items with no hardcoding.
- Access Methods: Provides two access methods: copying a token URL or setting a numeric password (30-day password-free access after one-time input).
- Remote UI Layout: Supports Mobile/Desktop/Auto remote UI layout options.
- Remote-Only Settings: UI settings apply only to remote pages; appearance and font size affect only remote pages.
- DSH 0.2.1 Adaptation: Automatically reads source, system port, and HTTPS; compatible with DSH 0.2.1+.
- Hot Reload: Supports hot reloading of settings pages without restarting DSH.
- Configuration Management: Configuration source is
$DSH_HOME/remote-access-config.json(since v1.5.0, single-user file only). - Port Auto-Fallback: When the port is busy, automatically falls back to a free port and remembers it.
Installation and Enablement¶
- Ensure your DSH version meets the requirements.
- Execute the installation command.
Installation Command:
dsh plugin --profile desktop add dsh-plugin-remote-access
Version Requirements:
* DSH 0.2.1+ (Plugin version 1.4.0+).
* DSH 0.2.0 requires plugin version 1.3.8.
Configuration and Access¶
Plugin configuration is stored in $DSH_HOME/remote-access-config. Parameter changes are made via the settings page, and hot reloading occurs without restarting DSH after saving.
Access Methods:
* Token URL: Copy and paste into a browser.
* Numeric Password: Once set, inputting it once grants password-free access for 30 days.
Applicable Scenarios and Notes¶
- Configuration Location: Configuration exists only in each Windows user’s
$DSH_HOME/remote-access-config. The plugin does not read or write shared profiles. - Port Conflict: When the port is busy, it automatically falls back to a free port and remembers it.
- Version Compatibility: Ensure the DSH version matches (0.2.1+).