外出用 WebDAV 連回家中相簿

Home Gallery · NAS + DDNS/公網 IP + HTTPS 埠

適用:在家 Wi‑Fi 已可連 NAS,外出要用 HTTPS WebDAV。Windows PC 請改用 Tailscale

繁體中文

什麼時候用 WebDAV?

1. NAS 摘要

  1. 啟用 WebDAV HTTPS(Synology 常見埠 5006
  2. 準備 DDNS(例如 xxx.synology.me)或公網 IP
  3. 確認路由器/防火牆已放行該埠(依環境)

2. Home Gallery

  1. 先在家中 Wi‑Fi把主機與家中相簿設好
  2. 設定 → 主機連線管理 → 編輯 → 遠端存取選 WebDAV
  3. 外網主機(DDNS/公網 IP)與;多數家用 NAS 可勾選允許自簽憑證
  4. 測試連線儲存

區網 IPv4 請維持 192.168.x。IPv6 欄位僅在「啟用 IPv6」開啟時顯示(預設關閉);外出以你填的 WebDAV 主機為準。

3. 外出

對外開放 WebDAV 請用強密碼;不需要外出時遠端存取請維持「無」。

English

When to use WebDAV

1. NAS (summary)

  1. Enable WebDAV over HTTPS (Synology often uses port 5006)
  2. Set up DDNS or note your public IP
  3. Allow the port through your router/firewall as needed

2. Home Gallery

  1. On home Wi‑Fi, finish the host and home album setup
  2. Settings → Host connections → Edit → remote access WebDAV
  3. Enter public host (DDNS/IP) and port; allow untrusted certs if your NAS uses a self-signed cert
  4. Test connectionSave

Keep LAN IPv4 as 192.168.x. The IPv6 field appears only when Enable IPv6 is on (off by default); away access uses the WebDAV host you entered.

3. Away

Exposing WebDAV to the internet requires a strong password. If you do not need away access, leave remote access on None.