AI Agent Hub
Back to plugins
🧩

dsh-lan-proxy

admin-security Updated 2026.08.22

Run the following command in DeepSeek Harness:

dsh plugin install mariGoIds/dsh-lan-proxy

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install mariGoIds/dsh-lan-proxy in your DeepSeek Harness terminal to install the plugin; the source repository is https://github.com/mariGoIds/dsh-lan-proxy .

About this plugin

dsh binds only to loopback by default, and the project explicitly forbids running with --host 0.0.0.0. dsh-lan-proxy is an in-process reverse proxy designed for exactly this gap: it listens on HTTP and HTTPS inside the dsh process and forwards traffic to the dsh loopback backend, so you can expose the service to your LAN or the public internet without maintaining a separate nginx, frp, or Caddy sidecar.

Security is the plugin's central concern. It ships with IP whitelisting (prefix and exact-match rules), Basic Auth backed by a Cookie session (so browser WebSocket connections, which cannot carry an Authorization header, still authenticate), optional TLS on port 3443, and per-request access logging that can be appended to a file. The decision order is straightforward: whitelisted IPs get through directly, everything else must present valid credentials or is rejected with 403. Sessions are stateless and changing the password instantly invalidates all of them; for public deployments, set a long random authSecret to resist offline password-guessing.

Written in pure ESM with zero build steps, the plugin cleans up after itself on uninstall via ctx.effect() and leaves no stray processes or ports behind. All security features default to off, so you start from a safe baseline and enable only what you need. It is a good fit for developers who need multi-device access on a LAN, remote debugging, or a public endpoint for dsh, especially when they would rather not babysit another long-running proxy process.

Use Cases

  • Expose dsh to other devices on the same LAN
  • Access local dsh remotely via public IPv6
  • Add Basic Auth and per-request access logging to dsh

Best For

  • Developers needing multi-device access to dsh
  • Anyone who prefers not to run a separate proxy sidecar
  • Teams with public deployment or remote debugging needs