← 返回列表
D

dsh-wsl-expose

v1.5.1 · 0 天前发布

Expose the DeepSeek Harness Web GUI to the public internet from WSL2 over IPv6 or IPv4 through a reverse proxy (Lucky). One /wan command sets up the socat loopback relay, Windows portproxy, firewall rule, IPv6 detection, and the trusted-host fence.

deepseekharnessdshdsh-pluginwslwsl2ipv6reverse-proxyluckyportproxy

README

dsh-wsl-expose

WSL2 走 IPv6 经反向代理,把 DeepSeek Harness Web GUI 暴露到公网——一条 /wan 命令搞定。

[English](README.md) | 中文 ## 解决什么问题 DSH Web GUI 只绑定 `127.0.0.1`(`--host 0.0.0.0` 被刻意拒绝),且每个 `/api` 请求都要通过一道按请求 `Host` 校验的浏览器信任围栏。要从手机经 IPv6 访问它——穿过 WSL2 的 NAT 再经局域网反向代理(如 [Lucky](https://lucky666.cn/))——通常是一串脆弱的手动步骤。 本插件把**运行在你自己机器上**的部分全部自动化: ``` 公网 IPv6 用户 ──> 你的域名 (AAAA) ──> Lucky(反向代理) └─> [Windows 全局 IPv6]:3082 (portproxy v6tov4) └─> WSL eth0:3082 (socat 中继) └─> 127.0.0.1: (DSH Web GUI) ``` ## 自动化了什么 - 探测 WSL2、WSL `eth0` IPv4、以及 Windows 全局 IPv6(经 `netsh.exe`/`ipconfig.exe`) - 启动 `socat` 回环中继(`TCP-LISTEN: → 127.0.0.1:`),deta
查看完整 README →

版本兼容矩阵

DSH 版本状态说明
dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
dsh@0.1.0 ✅ 兼容 标准 patch ✅
dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
dsh@0.3.0+ ❓ 未知 尚未发布

💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

元数据

License
MIT
npm
dsh-wsl-expose
Repo
git+https://github.com/jack-ranbo/dsh-wsl-expose.git
Engines
{}
Weekly DL
0
Monthly DL
0
dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"}}