diff --git a/ssh-bridge/README.md b/ssh-bridge/README.md index bea4034..3e61ecc 100644 --- a/ssh-bridge/README.md +++ b/ssh-bridge/README.md @@ -3,11 +3,11 @@ What this is: one Alpine container running tailscaled + sshd. tailscale0 lives in the container's own network namespace. The HAOS host and HA core never join the tailnet and the container has no HA API access. Work laptop SSHes to -yellow:2222 (LAN/WAN), then jumps to tailnet hosts or opens a SOCKS proxy +yellow:2223 (LAN/WAN), then jumps to tailnet hosts or opens a SOCKS proxy (`ssh -N -D 1080 bridge@...`) exactly like the old NAS VM did. ## Files -- config.yaml add-on manifest (NET_ADMIN + /dev/net/tun only; port 2222) +- config.yaml add-on manifest (NET_ADMIN + /dev/net/tun only; port 2223 on host, 2222 in-container) - Dockerfile alpine + openssh + tailscale (community repo, in-image default) - sshd_config key-only, AllowUsers bridge, forwarding on, everything else off - run.sh tailscaled -> tailscale up (authkey from /share) -> sshd @@ -23,7 +23,7 @@ yellow:2222 (LAN/WAN), then jumps to tailnet hosts or opens a SOCKS proxy expiry 90d is fine; pre-authorize the node and add the tag there if using auto-tags) 3. Start the add-on. First start registers the node `ssh-bridge`. -4. Router: forward new WAN port (e.g. 2222) → Yellow LAN IP:2222. +4. Router: forward new WAN port (e.g. 2222) → Yellow LAN IP:2223. Keep the NAS VM bridge running until the new one is proven, then retire it. 5. Laptops: update ~/.ssh/config Host entries to the new port/host. diff --git a/ssh-bridge/config.yaml b/ssh-bridge/config.yaml index f36dc82..73c0528 100644 --- a/ssh-bridge/config.yaml +++ b/ssh-bridge/config.yaml @@ -1,5 +1,5 @@ name: "SSH Bridge (Tailscale)" -version: "1.0.0" +version: "1.0.1" slug: "ssh_bridge" description: "Contained tailscale+sshd jump host for tailnet access. Runs in its own network namespace; Home Assistant and the host itself do NOT join the tailnet." url: "https://git.halfast.com/hermes/ha-addons" @@ -19,7 +19,7 @@ devices: map: - share:ro ports: - 2222/tcp: 2222 + 2222/tcp: 2223 options: tailscale_hostname: "ssh-bridge" tailscale_extra_args: ""