blog.back_article_list

How to access Jellyfin from outside your network

How to access Jellyfin from outside your network

Updated and tested 4 June 2026

Jellyfin works beautifully on the sofa and then you leave the house and the app says it can't find the server. Remote access is the one part of self-hosting Jellyfin that has no single right answer, so instead of pretending there's one, here are the four setups that work, ranked by how much I trust them, plus Quick Connect and phone setup at the end since those questions always come together.

One mental model first. Your Jellyfin server address has two versions: the local one (something like http://192.168.1.20:8096) that only works on the same network, and a public one that works anywhere. Every method below is a different way of creating that public address. If your server already lives on a VPS rather than in your closet, you were born with one; skip to the reverse proxy section, since exposing it properly is the whole game there.

Option 1: a VPN like WireGuard or Tailscale (safest)

A VPN puts your phone or laptop virtually inside the home network, so the local address keeps working from anywhere. Nothing about Jellyfin gets exposed to the internet, which means the server's login page never meets the credential-stuffing bots. Tailscale is the ten-minute version (an account, an app on the server, an app on the phone, done) and plain WireGuard is the no-third-party version; we've covered the pattern in our Tailscale remote access guide and it transfers to Jellyfin unchanged.

The trade-off: everyone who watches needs the VPN app installed and running. Fine for you, harder to sell to the relatives streaming on a smart TV. VPN is my answer for personal access and admin work, rarely for the whole family.

Option 2: reverse proxy with a domain and HTTPS (the proper public setup)

This is the setup that scales past your own devices: a domain name pointing at your server, with Caddy or Nginx in front of Jellyfin terminating HTTPS on port 443 and forwarding to 8096 internally. Clients connect to https://jellyfin.example.com, certificates come free from Let's Encrypt and every Jellyfin app on any platform accepts that address without ceremony.

Caddy earns my recommendation for this because the entire config is two lines:

jellyfin.example.com {
    reverse_proxy 127.0.0.1:8096
}

Install Caddy from its official apt repository (the commands are on Caddy's install page), put those lines in /etc/caddy/Caddyfile and reload with sudo systemctl reload caddy. Ports 80 and 443 have to be open for the certificate: sudo ufw allow 80/tcp and sudo ufw allow 443/tcp.

openssl shows the certificate Caddy obtained: issuer Let's Encrypt YE2, valid for 90 days

Caddy fetched this Let's Encrypt certificate by itself a few seconds after the reload.

Certificates issue and renew themselves. The Nginx equivalent takes thirty lines and a certbot timer, and it's the road most tutorials take; our Nginx reverse proxy walkthrough shows the pattern if you're already an Nginx shop. Either way, once the proxy handles the public side, close direct access to 8096 from the internet in your firewall so the proxy is the only door. With ufw enabled and no allow rule for 8096 the port stays closed; if you opened it earlier, sudo ufw delete allow 8096/tcp takes the rule out. Which ports do what, and which to leave shut, is covered in the Jellyfin ports guide.

One more setting once the proxy works. Behind a reverse proxy on the same server, Jellyfin sees every visitor as 127.0.0.1, which leaves its logs and anything that reads them (fail2ban included) blind. In Jellyfin, open Dashboard » Networking, add 127.0.0.1 under Known proxies, save and restart Jellyfin with sudo systemctl restart jellyfin. On my server the setting did nothing until that restart; after it, the log showed the visitor's real address.

Jellyfin Networking page: Known proxies field, needed for X-Forwarded-For, help text says it requires a reboot after saving

The Known proxies field says it needs a restart after saving, and on my server it did.

Jellyfin log line after Known proxies and a restart: a reset request through Caddy logged with the visitor IP 203.0.113.20

After adding 127.0.0.1 to Known proxies and restarting, a request through Caddy shows up with the visitor's own address.

On a home connection you'll also need a DNS record that follows your changing IP (dynamic DNS) and a router that port-forwards 80 and 443. On a VPS none of that exists: the IP is static, the record is set once and you can check propagation with a DNS checker and be done. That difference is most of why my own Jellyfin moved off the home NAS; a small Jellyfin VPS gave it a public address with none of the router archaeology.

Option 3: plain port forwarding (no HTTPS)

Forward external port 8096 to the server in your router and the public address is http://YOUR_HOME_IP:8096, which you can find with a what's-my-IP tool. It works in five minutes and I'd still talk you out of it as a permanent setup: no HTTPS means credentials and your viewing travel in plain text, and the login page sits exposed. As a temporary bridge while you build option 2, fine. Enable it, watch the auth logs fill with strangers' attempts, and let that motivate the upgrade.

Option 4: tunnels for the CGNAT crowd

Some ISPs (mobile internet, many fiber providers) put you behind CGNAT, where no amount of port forwarding helps because you don't have a public IP at all. Tunnels punch out from inside: Cloudflare Tunnel is the famous one, with a real terms-of-service catch for video streaming that deserves its own discussion, which it gets in our Cloudflare Tunnel for Jellyfin guide. The self-hosted alternative is renting a tiny VPS and running WireGuard from home to it, using the VPS's public IP as your front door. More moving parts, zero third-party terms to violate.

Make room for every file you'll ever keep

Keep your backups and media libraries on reliable storage with unmetered bandwidth and a cost that stays predictable as your archive grows.
Billing Cycle

VPS.H1

€6.39 packages.save  14 %
€5.48 Monthly
  • 1 vCPU AMD EPYC
  • 2 GB pamięci RAM
  • ✔Dysk HDD
  • ✔Nielimitowany transfer
  • ✔ IPv4 i IPv6 w cenie Obsługa IPv6 jest obecnie niedostępna we Francji lub Holandii.
  • ✔Zarządzanie firewallem
  • ✔Monitorowanie serwera
  • ✔Wirtualizacja KVM

VPS.H3

€22.85 packages.save  20 %
€18.28 Monthly
  • 4 vCPU AMD EPYC
  • 8 GB pamięci RAM
  • ✔Dysk HDD
  • ✔Nielimitowany transfer
  • ✔ IPv4 i IPv6 w cenie Obsługa IPv6 jest obecnie niedostępna we Francji lub Holandii.
  • ✔Zarządzanie firewallem
  • ✔Monitorowanie serwera
  • ✔Wirtualizacja KVM

VPS.H4

€33.37 packages.save  18 %
€27.43 Monthly
  • 6 vCPU AMD EPYC
  • 12 GB pamięci RAM
  • ✔Dysk HDD
  • ✔Nielimitowany transfer
  • ✔ IPv4 i IPv6 w cenie Obsługa IPv6 jest obecnie niedostępna we Francji lub Holandii.
  • ✔Zarządzanie firewallem
  • ✔Monitorowanie serwera
  • ✔Wirtualizacja KVM

*VAT excluded.

INCLUDED WITH EVERY PLAN

✓ No setup fees ✓1 Gbps network
✓ Free server monitoring ✓ Firewall management ✓24/7 support ✓ KVM virtualization

Jellyfin Quick Connect setup

Quick Connect solves a different problem than people think: easy sign-in on devices where typing passwords hurts, riding on top of whichever access method you built above. Enable it in Dashboard » General, then when a TV app offers "Quick Connect" it shows a six-digit code; open Jellyfin on a device where you're already signed in, go to your user Settings » Quick Connect, enter the code and the TV logs in. The TV still needs to reach the server address by one of the four methods above; without that route, Quick Connect has nothing to connect to.

Connect the Jellyfin mobile app to your server

Install the official Jellyfin app (Android, iOS), open it and enter the full server address including scheme and port: https://jellyfin.example.com for a proxied setup, or http://IP:8096 for the raw ones. The classic failure is typing the bare domain and missing that the app defaults to trying port 8096 on it; with a reverse proxy on 443, spell the https:// out and it connects first try. Sign in, and if typing the password on the phone annoys you too, that's Quick Connect's actual job.

Wherever you land, the ranking holds: VPN for yourself, reverse proxy for the household, forwarding only as scaffolding and tunnels when the ISP forces your hand. The half-hour spent on option 2 is the last time you think about any of this.

Questions?

Is it safe to expose Jellyfin to the internet?

It's reasonably safe behind HTTPS on a reverse proxy, which is how Jellyfin's Networking docs recommend exposing it; the same page calls opening a port straight to the internet "insecure and not recommended". Keep the admin login to yourself and update the server when a release lands. Accounts that only ever watch at home can lose remote access entirely: open the user in Dashboard » Users and untick "Allow remote connections to this server".

Ellie Grace Hayes
About the author

Ellie Grace Hayes

I grew up in Minnesota and started working remotely before I decided that travelling was going to become a permanent part of my life. And it kinda did, more or less... I tend to stay somewhere for a month or two, sometimes longer if I like the place (so "digital nomad" is technically accurate, even if most days are much less exciting than the term suggests). Usually I'm at a desk in a rented room trying to work out why a command behaved differently on two supposedly identical machines :)

I came into technical writing through support work & community tutorials. Linux was the first subject I wrote about, but since then I've wandered into containers, hosting, networking plus a lot of self-hosted software. I've played Minecraft since I was a kid and still go through phases where I get completely absorbed in it for a few weeks. I don't have a five-year plan. I've tried - it keeps becoming a six-month plan instead.

Never run out of space again

Keep backups, archives and media on reliable storage with unmetered bandwidth and a cost per gigabyte that stays low as the years add up. Your first VPS comes with a 30-day money-back guarantee.