yin52133/dsh-luban--packages-dsh-luban-auth ↗★ 0
@yin52133/dsh-luban-auth
Authenticated LAN sidecar for every DSH HTTP, SSE, and WebSocket route
AI 분석
核心用途是为局域网内暴露的 DSH 服务提供安全认证屏障。适合在多设备或团队局域网环境中使用 DSH 的用户。需要将 DSH 绑定至回环地址,仅暴露此安全边车端口。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yin52133/dsh-luban#fd42aad0a6c5628a3bee24796f0caba131fb0252&path:packages/dsh-luban-authConfiguration
- insert:
- id: luban-auth
name: @yin52133/dsh-luban-auth
config:
host: 0.0.0.0
port: 42600
upstream: http://127.0.0.1:3080
sessionTtlHours: 72
usersFile: ~/.dsh/luban/auth/users.json
LAN firewall
Expose the sidecar only to the client address range of the actual LAN. The following CIDR matches one example network; it is not a universal default: