Currently Available: Need a skilled Software Developer for your next project?
Categories
Self-Hosting

How to Give Family Members Remote Access to Self-Hosted Immich: Reverse Proxy vs. Tailscale vs. Cloudflare Tunnel

To let relatives view and upload photos in your self-hosted Immich library, their phones and computers need a path back to the server at your home. You can give them a regular web address, ask them to install an app that joins a private network, or send their traffic through an access gateway. The option you pick decides who can reach your server and how reliably large videos upload.

A reverse proxy receives web requests and forwards them to Immich, usually encrypting the connection with HTTPS. Tailscale links your server and your relatives' devices over a private network, so they can reach Immich without you putting it on the public web. Cloudflare Tunnel routes traffic through an outbound connection from your server to Cloudflare, giving people a public hostname to reach Immich without you opening an incoming port on your router.

Pick Tailscale if keeping Immich private matters most and your relatives are willing to install its app. Pick a conventional reverse proxy if they need a normal web address and plan to upload large files. Pick Cloudflare Tunnel if you want a public web address without opening a router port, while keeping Immich’s documented 100 MB file-size limit in mind and setting up access controls for the hostname.

How the three routes differ

Option What relatives do What reaches the internet Main trade-off
Self-managed reverse proxy Open a hostname in a browser or the Immich app A public web address points to your proxy You manage DNS, HTTPS, proxy settings, and firewall access
Tailscale Install and connect the Tailscale app Immich stays reachable over a private network Every client device needs Tailscale, and you must limit access carefully
Cloudflare Tunnel Open a hostname in a browser or the Immich app A public hostname routes through Cloudflare unless you use a private route You skip opening an inbound router port, but you still need access controls and have to work around upload limits

Each option lets a device reach your Immich server, yet none of them creates Immich user accounts or sets photo-library permissions. The connection method controls who can reach the server, while Immich accounts control what each signed-in person can see and do.

Use a reverse proxy for a regular Immich address

A reverse proxy lets relatives open Immich with a regular web address, called a hostname, in a browser or the Immich mobile app. In a typical home setup, you point a domain name at your home internet connection and tell your router to send web traffic to the proxy. The proxy forwards those requests to Immich and provides a trusted HTTPS certificate to encrypt the connection. Immich covers this setup for browser and mobile access in its remote-access guidance.

The proxy has to pass along details Immich needs about each request, including the original hostname, the device's address, and whether the connection used HTTPS. Immich’s reverse-proxy documentation lists the Host, X-Real-IP, X-Forwarded-Proto, and X-Forwarded-For headers that carry this information. Immich also warns that it must run at the root of a hostname, such as photos.example.com, instead of a path below it, such as example.com/immich.

Make sure the proxy handles large uploads as well as normal page loads. It needs to accept requests large enough for the photos and videos your relatives send. If the proxy buffers uploads, it can fill up its own disk space, and short timeouts will cut off long uploads. Immich’s sample Nginx settings allow large request bodies, turn off upload buffering, enable WebSockets, and set timeouts to 600 seconds. Treat those values as a starting point and adjust them to match your files and hardware.

A public proxy lets anyone on the internet reach Immich’s web interface and API. Do not forward Immich’s port 2283 directly to the internet without extra protection; Immich warns against doing so. Turn on HTTPS and check which services the proxy exposes. For more on the risks and safeguards, see how to securely expose self-hosted services.

Use Tailscale to keep Immich private

Tailscale connects devices to a private network called a tailnet. Your server and your relative’s phone or computer join the tailnet, so they can reach Immich without a public website. Both ends need the Tailscale software: your relative installs the app and connects to the tailnet, and your Immich server connects to it too. Immich describes this in its remote-access guidance as a way to avoid exposing your server directly to the internet.

You can either invite a relative to your tailnet or share the server with them. If you invite them, they can reach whichever tailnet resources your access controls allow. If you share the server, they can reach only that machine without joining the rest of your tailnet. Tailscale explains the difference in its sharing documentation.

When you share a machine, your relative might be able to reach other services running on it alongside Immich. Check what is exposed on that server, then use access policies and firewall rules to block everything else. Give each relative their own Tailscale account instead of sharing one login. Tailscale’s pricing page currently lists a Personal plan at $0 for up to six users, with unlimited devices per user. Check its current plan details before counting on that limit.

Tailscale works well for relatives who are willing to install the app and leave it connected. It is a harder sell for someone who expects to open a normal web address without installing extra software.

Use Cloudflare Tunnel to avoid opening a router port

Cloudflare Tunnel relies on a connector called cloudflared that runs on your home network. The connector opens an outbound connection to Cloudflare, and Cloudflare sends incoming requests back through that link to Immich. Because the connection starts from inside your network, you do not have to open an inbound port on your router. Cloudflare explains how this works in its Tunnel fundamentals.

A public hostname still lets anyone on the internet send requests toward Immich. Cloudflare notes that a published app is open to the public unless you put it behind Cloudflare Access, its access-control service, with sign-in rules. Configure Access carefully, and check how requests reach your Immich server. Cloudflare recommends verifying Access tokens on the server or through the tunnel connector so the server rejects any request that bypasses Access. Its guide to publishing a self-hosted application walks through those controls.

Uploads are the biggest catch for Immich. Immich’s FAQ states that Cloudflare Tunnel has an official maximum file size of 100 MB, and you cannot raise it. Larger files sometimes go through, yet Immich still treats 100 MB as the official ceiling and advises using another setup if that limit gets in your way. You will run into this quickly if relatives upload original videos or turn on mobile backup.

Cloudflare also restricts video and unusually heavy large-file traffic over public hostnames on Free, Pro, and Business plans, as outlined in its video-delivery policy. Those rules are separate from Immich’s 100 MB limit. Cloudflare makes an exception for private network routes, but that exception does not cover a public hostname that relatives open without joining a private network.

Test Cloudflare Access with the Immich mobile app before you roll it out. The available documentation does not confirm that Access sign-in works with every Immich mobile feature. Try mobile sign-in, background backup, video playback, and uploads on your own setup first.

Match the route to how your relatives use Immich

If your relatives will install Tailscale, it gives you the cleanest way to keep Immich off the public internet. Set up access policies and firewall rules so sharing the server does not expose other services running on it.

If your relatives need to open Immich without installing a network app, a conventional reverse proxy gives them a regular web address and lets you control upload limits and proxy behavior. In return, you take on public-facing security, HTTPS, DNS (the service that links domain names to network addresses), firewall rules, and proxy maintenance.

Cloudflare Tunnel makes sense when you want a public web address and cannot or do not want to open a router port. Before committing to it for Immich, weigh the 100 MB upload limit, Cloudflare’s policy on video and large-file traffic over public hostnames, and the extra step of setting up Access so strangers cannot reach the hostname.

Whichever route you pick, test more than the login screen. Ask a relative to sign in from outside your home network, upload a large video, play it back, and check mobile backup. The web interface can load fine even when large uploads or mobile sign-in break.

What I'm building

Delegate tasks. Get software.

Give Vroni a GitHub issue, bug report, spec, or rough idea. It reads the repo, plans the change, writes code, runs checks, and works toward a review-ready pull request.

Take a look at vroni.com

Email updates

Usually a new article and a few links I found interesting.

No spam. Unsubscribe with one click.

Leave a Reply

Your email address will not be published. Required fields are marked *