Reach your server from outside

Tailscale and the other ways to reach Ilexarium and your apps away from home, and what each one costs you.

At home, Ilexarium listens on your network at https://<your server's address>:3443 (unless you installed it --local-only), and on the machine itself at 127.0.0.1:3000 for a proxy. It knows nothing about how you reach it from outside. That choice is yours. Signing in sends your Linux password, so whichever way you pick has to provide HTTPS.

Our suggestion: start with Tailscale. It opens no port on your router, it works behind almost any home connection, and it gives you HTTPS.

Way Open a port? Who can reach it What it costs you
Tailscale No Your own devices An account with a company
WireGuard Yes Your own devices More setup, and a connection that accepts incoming traffic
Reverse proxy, own domain Yes The whole internet A domain, and a sign-in page open to everyone

Never forward an app's port on your router. It's plain HTTP: your passwords would cross the internet unencrypted. Ilexarium's port 3443 uses HTTPS, but forwarding it would show your sign-in page to anyone on the internet: keep it for your home network, or a private network like Tailscale.

Tailscale

Tailscale connects your devices into a private network, with the traffic encrypted between them. Its free personal plan is enough for a home; check its current prices.

1. Install it on the server. Tailscale's Linux instructions have the install script. As with Ilexarium, download it and read it before you run it:

curl -fsSL https://tailscale.com/install.sh -o tailscale-install.sh
less tailscale-install.sh
sh tailscale-install.sh
sudo tailscale up

tailscale up prints a link: open it and sign in.

2. Install it on your phone and laptop, and sign in with the same account.

3. Turn on HTTPS. In Tailscale's admin console, on the DNS page, enable MagicDNS, then HTTPS Certificates.

Your machine's name becomes public. Certificates are recorded in public logs, with the machine's name and your tailnet's name. If the machine's name says something private, rename it first.

4. Put Ilexarium behind it:

sudo tailscale serve --bg 3000

It prints an address like https://home-server.your-tailnet.ts.net. Open it on any of your devices and sign in. Ilexarium needs no change, and this keeps running after a reboot.

Only your own devices can reach this. tailscale funnel would open it to the whole internet, so don't use that here.

sudo tailscale serve status shows what's being served, and sudo tailscale serve reset turns it off.

Your apps

An app's own port works on your devices too: Immich at http://home-server:2283, Navidrome at http://home-server:4533, or whichever port you chose when installing it. Use that address in the app on your phone. The address says http, but Tailscale encrypts the traffic between your devices.

What you're trusting

Tailscale's servers decide which devices belong to your network, and they can see your machines' names. If you'd rather not depend on a company for that, WireGuard and a reverse proxy don't.

The other ways

WireGuard

Your own private network, with no company in between. You run the server side yourself, on the machine or on a router that supports it, and forward one port to it. If your provider gives you no public address of your own (CGNAT, DS-Lite), this won't work over IPv4 without a server outside your home; over IPv6 it may, if your devices have it too. You'll also still need HTTPS for Ilexarium: see HTTPS in front of Ilexarium.

A reverse proxy with your own domain

Caddy or nginx on the machine, a domain pointing at your home, and ports 80 and 443 forwarded on your router. HTTPS in front of Ilexarium shows the Caddy part, including a real domain; the domain's address and the forwarding depend on your provider and router. It needs a public address, like WireGuard, and everything behind it is open to the whole internet, so anyone can try your sign-in page. Choose this only if you're ready to keep that machine patched and watched.