dsh-wsl-expose
Manifest valid★ 1Advises or applies allowlisted Windows portproxy for a WSL listen port, preferring the kit :3081 relay and launch token for local dsh UI.
dsh-wsl-expose
Install set: part of dsh-wsl-kit. Prefer
KIT_SET=llm|full. Fault tree: TROUBLESHOOTING.md.
DeepSeek Harness tool wsl_expose: advise or apply Windows portproxy so LAN clients can reach a service listening inside WSL. Reads .wslconfig networkingMode.
Where it sits
Advises how a WSL port is reached from Windows or the LAN. Local chat still uses :3081/?token=.
flowchart LR
agent["dsh agent"] --> tool["wsl_expose"] --> port["WSL port to Windows or LAN"]
Suite diagram and version snapshot: dsh-wsl-kit. This plugin is 0.2.2 (full; also in llm). Do not copy that matrix into this README.
Compatibility
| Field | Value |
|---|---|
| Plugin | dsh-wsl-expose 0.2.2 |
| Minimum dsh | ≥ 0.1.2 (web UI one-shot ?token= on Windows relay :3081) |
| Latest verified | See dsh-wsl-kit Compatibility (currently 0.1.7-alpha.2) — single source of truth for the suite |
| Kit set | llm / full (some also useful alone) |
| Cloud Flash | Use model id deepseek-flash (V4.1 Flash) in ~/.dsh/settings.yaml / llm-deepseek — not configured by this plugin |
| Agent Teams | Upstream experimental; not required here |
Suite floor versions: kit check-plugin-versions.sh. Fault tree: TROUBLESHOOTING.md.
Scope: LAN / non-local portproxy only. Local dsh UI should use kit relay :3081 + token, not netsh portproxy to expose 3080.
Why
Phone / another PC on the LAN sometimes needs a Windows-published port that forwards into WSL. That is different from “open dsh in the local Windows browser”:
| Goal | Do this |
|---|---|
| Chat UI on this Windows box | kit restart-dsh-web.sh → printed URL on :3081?token=… |
| Expose a dev server to LAN | wsl_expose (allowlisted ports) after you understand firewall risk |
Bind dsh on 0.0.0.0 | Never — dsh must stay on 127.0.0.1:3080 |
Under NAT-mode WSL, Windows localhost forwarding can be flaky; mirrored networking changes the story — the tool reports networkingMode so you do not guess.
Install
# With LLM / full kit:
curl -fsSL https://raw.githubusercontent.com/173787247/dsh-wsl-kit/master/install.sh | KIT_SET=llm bash
# Or alone:
dsh plugin --profile web add github:173787247/dsh-wsl-expose
Restart dsh web, open a new session. Tool: wsl_expose.
Related tools
port_doctor— is something listening?check-dsh-health.sh— 3080/3081 + token noteswslconfig_hint— mirrored vs NAT
Test
npm test
License
MIT
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 1.5.1 | — | — |
| 1.6.1 | — | — |
| 1.7.0 | — | — |
Comments
Loading…
Similar plugins
by 173787247
Diagnoses WSL port listening and Windows localhost forwarding, with a 3080/3081 uiPlaybook for the dsh web relay and launch token.
★ 1
MIT
JavaScript
Sep 29, 2026
dsh plugin --profile web add dsh-wsl-portby 173787247
Launches allowlisted Windows apps such as VS Code, Explorer, and browsers from WSL.
★ 1
MIT
JavaScript
Sep 29, 2026
dsh plugin --profile web add dsh-wsl-launchby 173787247
Writes a Windows shortcut and tray launcher to start dsh web in WSL, with Health/Restart and the :3081 launch-token URL.
★ 2
↓ 53/wk
MIT
JavaScript
Oct 9, 2026
dsh plugin --profile web add dsh-wsl-trayExpose the DSH Web GUI over IPv6 or IPv4 from WSL2 through a reverse proxy (Lucky): /wan up sets up the socat relay, Windows portproxy, firewall, and trusted-host fence, with a Settings card plus comm
★ 0
↓ 56/wk
dsh plugin --profile web add dsh-wsl-exposeby 173787247
Hints how to forward the Windows OpenSSH agent into WSL without dumping keys.
★ 1
MIT
JavaScript
Sep 30, 2026
dsh plugin --profile web add dsh-wsl-ssh-agentby 173787247
Gives read-only advice for Windows .wslconfig memory and mirrored networking.
★ 1
MIT
JavaScript
Oct 1, 2026
dsh plugin --profile web add dsh-wsl-wslconfig