# Home Assistant & Immich

Source: https://prontaro.com/docs/tunnels/homelab/

Open Home Assistant or Immich remotely in a browser with your family's Google accounts.

Home internet lines often sit behind carrier-grade NAT (CGNAT) where router port forwarding does not work, and asking family members to toggle a VPN app just to check sensors or browse photos rarely sticks. Prontaro gives your home server a permanent HTTPS address without buying a domain and blocks unlisted visitors before traffic reaches your home network.

## Step 1. Create the tunnel and allow your family’s Google accounts

Create the tunnel and sign-in rule in the dashboard first so your home server is never publicly open without login:

1. Open **Tunnels** in [my.prontaro.com](https://my.prontaro.com/tunnels) and create a named HTTPS tunnel—for example, `home`.
2. Switch to the **Access** tab, turn on **Visitor sign-in**, and select **Google**.
3. Add each family member’s Gmail address and save the rule.

Tunnels Access [Open in dashboard](https://my.prontaro.com/tunnels)

You do not need a custom domain or a paid plan to get started: Free already includes visitor sign-in (Up to 3 email addresses per account) on a permanent `*.prontaro.dev` address. If you want to remove the one-time browser warning page, pick a readable `*.prontaro.run` URL, or run multiple home services side by side (for example, Home Assistant and Immich together), upgrade to Tunnels ($6/mo).

## Step 2. Connect your home server

Install [`prontaro` CLI](https://prontaro.com/docs/cli/overview.md) on your Raspberry Pi, mini-PC, or home Linux server, sign in with `prontaro login`, and connect the protected `home` tunnel to Home Assistant (`8123`) or Immich (`2283`) with `prontaro http` (or `prontaro run home` if you already saved the local port in the dashboard):

```bash
# Home Assistant (replace 8123 with 2283 for Immich)
prontaro http 8123 --name home
```

Open the printed HTTPS URL in a browser, confirm Google sign-in works, then press `Ctrl+C` and install it as a [background service](https://prontaro.com/docs/cli/service.md) so the tunnel reconnects automatically after power outages or reboots:

```bash
prontaro service install -- http 8123 --name home
```

> **Home Assistant reverse-proxy setting**
>
> If Home Assistant returns `400 Bad Request` over the tunnel, add `127.0.0.1` under `http: trusted_proxies` with `use_x_forwarded_for: true` in `configuration.yaml` and restart Home Assistant.

## Step 3. Bookmark the link on phones and laptops

Open the HTTPS link in Safari or Chrome on a phone or laptop, sign in with an approved Google account (each browser session lasts 12 hours), and save it to the home screen. Anyone outside your email list is stopped on the Prontaro server before requests reach your home network.

## Browser access and native mobile apps

Google sign-in works for interactive browser sessions on phones, tablets, and laptops, while native mobile apps doing background sync—such as Immich mobile auto-upload or Home Assistant Companion App background API calls—cannot complete an interactive browser login flow. Use Google sign-in for web access, and if you also need unattended mobile app sync, either keep a separate HTTPS endpoint relying on the app’s own strong login (with IP rules where feasible) or use a VPN on those mobile devices.

For session lifetimes, custom domains, and combining access checks, see [Google & GitHub sign-in](https://prontaro.com/docs/tunnels/oauth.md).

## Next steps

- [Google & GitHub sign-in](https://prontaro.com/docs/tunnels/oauth.md) — full reference for visitor sign-in rules, session cookies, and plan limits.
- [Background services (Linux & macOS)](https://prontaro.com/docs/cli/service.md) — keep your home tunnel running automatically after reboots.
- [Access control & firewalls](https://prontaro.com/docs/tunnels/access.md) — configure IP allowlists or Basic Auth for non-browser clients.
- [Plans & pricing](https://prontaro.com/docs/billing/plans.md) — compare Free and Tunnels allowances for running multiple home services.
