How to secure Jellyfin hosted over the internet?
dan @ dan @upvote.au Posts 7Comments 3,377Joined 2 yr. ago

I did this and it still seems to randomly disconnect.
If you have a separate subnet for it, then why do you only want it to be connected when you're not on home wifi? You can just leave it connected all the time since it won't interfere with accessing anything outside that subnet.
One of the main benefits of Wireguard (and Tailscale) is that it's peer-to-peer rather than client-server. You can use the VPN IPs at home too, and it'll add barely any overhead.
(leaving it connected is assuming you're not routing all your traffic through one of the peers)
In countries like Australia that have good consumer protection, they'd have to replace failed CPUs even outside of the warranty period, because they've still failed in a time frame shorter than a regular person would expect a CPU to last. The USA really needs better consumer laws.
The majority of users aren't contributors though. It's fine to mention it in contributor documentation but I find it weird to advertise it as an end-user feature given most apps written in other languages don't do this.
It's also a floating signifier for a lot of things.
Like what?
conditional Auto-Connect. If not on home wifi, connect to the tunnel.
You don't need this with Tailscale since it uses a separate IP range for the tunnel.
Edit: Tailscale (and Wireguard) are peer-to-peer rather than client-server, so there's no harm leaving it connected all the time, and hitting the VPN IPs while at home will just go over your local network.
The one thing you probably wouldn't do at home is use an exit node, unless you want all your traffic to go through another node on the Tailnet.
Yeah my wife and I are both on Android, and I haven't been able to figure out why it does that.
The Android client is open-source so maybe someone could figure it out. https://github.com/tailscale/tailscale-android
small minority of Rust programmers who are very loud
They also list "written in Rust" as the primary feature of software they write, even though the majority of users don't care as long as it works properly.
and they kept denying there was an issue, until there was so much proof that they couldn't deny it any more and were like "okay fine there's an issue so we're going to be extra generous and extend your warranty one whole year"
flavors of iron
Yum yum
Is it just you that uses it, or do friends and family use it too?
The best way to secure it is to use a VPN like Tailscale, which avoids having to expose it to the public internet.
This is what I do for our security cameras. My wife installed Tailscale on her laptop and phone, created an account, and I added her to my Tailnet. I created a home screen icon for the Blue Iris web UI on her phone and mentioned to her, "if the cameras don't load, open Tailscale and make sure it's connected". Works great - she hasn't complained about anything at all.
If you use Tailscale for everything, there's no need to have a reverse proxy. If you use Unraid, version 7 added the ability to add individual Docker containers to the Tailnet, so each one can have a separate Tailscale IP and subdomain, and thus all of them can run on port 80.
That's interesting... It used to be a lot heavier.
Authelia is definitely the lightest in terms of RAM, but it's also the lightest in terms of features. As far as I can remember, they only added OIDC support fairly recently - previously it only supported proxying.
Nothing's as bad as trying to host and maintain a Ruby on Rails app :)
Docker has made a lot of it a non-issue though, since the apps are already preconfigured within the Docker image.
That and email protocols are outdated and aren't too secure. For example:
- Neither SMTP nor IMAP have no way to use two factor authentication.
- Spam blocking is so hard because SMTP was not designed with it in mind.
- SMTP has no way to do end-to-end encryption which is why you need to layer things like GPG on top.
IMAP has a modern replacement in JMAP, but it's not widespread. SMTP is practically impossible to replace since it's how email servers communicate with each other.
The "solution" has been for companies to make their own proprietary protocols and apps, for example the Gmail and Outlook apps combined with a Gmail or Microsoft 365 account respectively.
with rootkits
These are eventually going to be blocked on Windows. Microsoft are making changes to what's allowed to run in the kernel after the Crowdstrike issue last year.
I'm not the person you're replying to, but Authentik:
- Has a UI for configuring it, including adding users.
- Supports LDAP if you need it. Authelia needs a separate LDAP server.
- Supports practically every two factor auth protocol you'd need: OIDC (OpenID Connect), OAuth2, SCIM, SAML, RADIUS, LDAP, and proxying for apps that don't support any of them (which is getting rarer).
- Supports permissions and permission groups, i.e. only allow certain users to access particular apps.
- Can be used as the source of truth for Google Workspace and Microsoft Entra. Maybe not as relevant for home use.
I haven't tried Keycloak but I hear it's pretty good, albeit a heavier app to deploy.
I have tried Authelia, and it's much less powerful than Authentik. Authelia requires you to manually modify config files rather than using a web UI. It also only supports OIDC (which is in beta) and proxying. Proxying is not recommended and has several issues since it's not "true" single sign-on.
I self-host my email using Mailcow, and use a VPS for it. I don't trust my home server to be reliable enough, and the VPS providers have nicer equipment (modern AMD EPYC CPUs, enterprise SSDs, datacenter-grade 10Gbps or 40Gbps connections, etc). I use a separate VPS just for my emails - it's the one thing I want to ensure is secure, so I didn't want any other random software (that could potentially have security issues) running on it..
I also use an outbound SMTP relay to avoid having to deal with IP reputation. Very easy to configure this in Mailcow. SMTP2Go has a free plan for sending <1000 emails per month.
Do you have any suggestions for fridge brands? A coworker suggested Jennair but they're quite expensive.
Frigidaire French door fridge/freezer. Nice looking unit that came with the house. It has horrible design flaws though. Frigidaire literally invented the first self-contained fridge in the 1920s so I don't understand why they're so bad at building them.
One of the known design issues is that (at least on older models) there's insufficient insulation between the ice maker and the rear of the fridge. This eventually results in condensation and ice forming on the back of the fridge. A web search for "Frigidaire ice on back" and "Frigidaire rust on back" will find plenty of people reporting the same thing.
The annoying thing is that the lines for the water dispenser and icemaker run right across this part, and they end up frozen inside the ice.
First time I noticed this was when the water dispenser stopped working a few months after we bought the house. Pulled the fridge out and the water lines were frozen, and it had made a mess of the wall (the drywall where the ice was was all broken - I guess drywall doesn't like ice being pressed against it all the time).
I tried insulating it with some Styrofoam, but that was no match for the ice - the ice started forming on top of the Styrofoam instead. Now I've re-routed all the water lines so as to avoid the spot that freezes. I'll get a new fridge eventually. Waiting for a good sale. For now, I'm wondering if I should spray foam it, or if the ice will also defeat that and form on top of the spray foam...
People started encountering this issue maybe 10 years ago. Frigidaire used to offer a "sweat kit" (some sort of fancy insulation) to fix it, but they no longer offer it. I also don't think they ever fixed this issue under warranty for anyone.
Headscale is a replacement for the coordination servers, which are only used to distribute configs and help nodes find each other. It won't change client-side behaviour.