ssh-bridge 1.0.1: host port 2223 (2222 taken by core_ssh Terminal & SSH)
This commit is contained in:
1 parent
a1e2d6912e
commit
186481f8a1
2 files changed
+5
-5
No files matched your search
@@ -3,11 +3,11 @@
|
|||||||
What this is: one Alpine container running tailscaled + sshd. tailscale0 lives in
|
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
|
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
|
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.
|
(`ssh -N -D 1080 bridge@...`) exactly like the old NAS VM did.
|
||||||
|
|
||||||
## Files
|
## 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)
|
- Dockerfile alpine + openssh + tailscale (community repo, in-image default)
|
||||||
- sshd_config key-only, AllowUsers bridge, forwarding on, everything else off
|
- sshd_config key-only, AllowUsers bridge, forwarding on, everything else off
|
||||||
- run.sh tailscaled -> tailscale up (authkey from /share) -> sshd
|
- 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
|
expiry 90d is fine; pre-authorize the node and add
|
||||||
the tag there if using auto-tags)
|
the tag there if using auto-tags)
|
||||||
3. Start the add-on. First start registers the node `ssh-bridge`.
|
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.
|
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.
|
5. Laptops: update ~/.ssh/config Host entries to the new port/host.
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: "SSH Bridge (Tailscale)"
|
name: "SSH Bridge (Tailscale)"
|
||||||
version: "1.0.0"
|
version: "1.0.1"
|
||||||
slug: "ssh_bridge"
|
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."
|
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"
|
url: "https://git.halfast.com/hermes/ha-addons"
|
||||||
@@ -19,7 +19,7 @@ devices:
|
|||||||
map:
|
map:
|
||||||
- share:ro
|
- share:ro
|
||||||
ports:
|
ports:
|
||||||
2222/tcp: 2222
|
2222/tcp: 2223
|
||||||
options:
|
options:
|
||||||
tailscale_hostname: "ssh-bridge"
|
tailscale_hostname: "ssh-bridge"
|
||||||
tailscale_extra_args: ""
|
tailscale_extra_args: ""
|
||||||
|
|||||||
Reference in new issue
Block a user