外出用 Tailscale 連回家中相簿

Home Gallery 1.0.5+ · PC/NAS + 手機 + App

適用:在家 Wi‑Fi 已可連 SMB,外出要用 Tailscale(常見 Windows PC)。NAS 建議改用 WebDAV

繁體中文

什麼時候需要?

請在 App 填 100.x IP,不要只靠 MagicDNS 名稱。

1. PC/NAS(家中)

  1. 開啟 tailscale.com/download,安裝並登入
  2. 確認狀態為 Connected
  3. 複製這台電腦/NAS 的 Tailscale IPv4(100.x)

2. 手機

  1. Google Play 安裝 Tailscale
  2. 用與 PC 相同帳號登入,允許 VPN
  3. 確認 Connected,列表中看得到家中那台裝置

3. Home Gallery(首次外出設定)

  1. 先在家中 Wi‑Fi把主機與家中相簿設好
  2. 外出開啟該相簿 → 若提示需要 Tailscale,點開啟 Tailscale
  3. 在 Tailscale 複製 PC 的 100.x
  4. 返回 App(畫面會停著讓你貼上,不會立刻狂重連)
  5. 貼上儲存 Tailscale IP 並重試

也可到設定 → 主機連線管理 → 編輯,在 Tailscale 欄填入 100.x(區網 IPv4 欄請維持 192.168.x)。

日常與耗電

常見問題

貼上後仍連不上? 確認 PC/手機同一 Tailscale 帳號且皆 Connected;複製的是家中那台的 100.x;在家 Wi‑Fi 用同一組 SMB 帳密仍可連;PC 未睡眠。

OpenVPN? 已進區網則維持區網 IPv4 即可,不必再開 Tailscale。

完整倉庫文稿:docs/setup-home-storage/tailscale.md

English

When do you need Tailscale?

Save the 100.x IP in the app — do not rely on MagicDNS alone.

1. PC / NAS

  1. Install from tailscale.com/download and sign in
  2. Confirm Connected
  3. Copy this machine’s Tailscale IPv4 (100.x)

2. Phone

  1. Install Tailscale from Play Store
  2. Sign in with the same account; allow VPN
  3. Confirm Connected and that the home PC/NAS appears

3. Home Gallery (first away setup)

  1. On home Wi‑Fi, finish the SMB host and home album first
  2. Away: open the album → if prompted, tap Open Tailscale
  3. Copy the PC’s 100.x in Tailscale
  4. Return to the app (it stays on the paste screen — no auto thrash)
  5. PasteSave Tailscale IP and retry

Or edit the host under Settings → Host connections and fill the Tailscale field (keep LAN IPv4 separate).

Daily use