Self-Hosting Series in 2026: What are you running? What's your pain points?

Self-hosting is almost ready for the masses.

We are about to hit critical mass with pushback from subscription services.

Photos. Recipes. Meal planning. Media. Audiobooks. Family documents. Calendars. Notes. Backups. The stuff normal people actually use every day.

A lot of this is already self-hostable. Immich for photos. Mealie for recipes and meal prep. Jellyfin for media. Audiobookshelf for books. Nextcloud for files, calendars, contacts, and collaboration. There are a ton more collected here:

https://github.com/awesome-selfhosted/awesome-selfhosted

and also

But there is a big gap between “this exists” and “I can safely set this up for my family and not become unpaid IT support forever.”

That’s what I want this video series to be about.

Part of this is we want to hear from people who have actually done this. What worked? What was awful? What did your family tolerate? What broke after an update? What scared you from a security standpoint? What would you recommend to someone moving from Level 0 to Level 1?

The first problem, the core problem: access

Self-hosting starts with access.

Can I get to my stuff from home? Can I get to it from my phone? Can my family and friends get to it without me explaining DNS, VPNs, certificates, reverse proxies, ports, NAT, and why the browser is yelling about security?

The hesitation I’ve always had is “easy to access for your family” can also mean “easy to access for the entire internet.”

And almost nobody wants to do system administration as a hobby after work. Some of us do, but that is not a mass-market solution. If the answer is “just learn nginx, fail2ban, oauth2-proxy, DNS validation, Let’s Encrypt, Docker Compose, SSO, reverse proxy headers, and firewall policy,” then we have already lost most people.

So let’s talk about the lay of the land.

Public IP? Don’t need one.

A lot of people no longer have a real public IPv4 address. Carrier-grade NAT is common. Residential ISPs are weird and block ports. Sometimes your IP changes. Sometimes you have a garbage router.

The old-school answer was: forward a port, set up dynamic DNS.. maybe run a VPN, and pray. But I’ve never really liked that approach if my mind is in “low headache” for ongoing maintenance.

You need two things:

  1. A way to reach your service.

  2. A way to signal to the service and the user that it is secure.

For web apps, that usually means HTTPS/TLS. The assumption from these apps are that they are running with a normal internet IP on a normal internet connection – typically not a connection that has restrictions like a typical residential internet connection has.

At a basic level, I’m talking about the little lock icon in the URL bar. It is not magic; it means the browser has established encrypted communication with a service whose certificate chains back to a trusted authority. Let’s Encrypt made this dramatically easier by providing free TLS certificates, including wildcard and DNS-based validation options.

The problem is not “can we encrypt traffic?” We can.

The problem is making the whole thing low-friction enough that normal people do not disable security just to get their photos working. The part that’s missing from this is the connection from the public internet to your service. You either need to offer up a tunnel, somehow, from a normal public IP or use a VPN type service to connect back to your internal network.

Cloudflare Tunnel

Cloudflare is usually thought of as a CDN or front-end website proxy, but Cloudflare Tunnel is useful for self-hosters because it lets you expose a service without directly opening inbound ports on your home network.

Instead of the internet connecting directly to your server, a small Cloudflare daemon on your side makes an outbound connection to Cloudflare. Cloudflare then brokers public access to your app.

That is powerful because it works even when you are behind NAT or do not control the router.

The tradeoff: Cloudflare is now in the path. That may be fine for some apps and unacceptable for others. It also nudges you toward the Cloudflare ecosystem. For public-facing web apps, it is a strong option. For private family-only services, it might be more exposure than you need unless you layer authentication carefully. Cloudflare can also assist with the HTTP/TLS side of the connection.

Tailscale

Tailscale is probably more interesting for what I think this audience is trying to do.

It is built around WireGuard. Instead of publishing your services to the public internet, you create a private mesh network between your devices. Your laptop, phone, home server, maybe your parents’ tablet — they all become part of the same private network, with identity and access rules layered on top.

The big win is that you often do not need to open anything to the internet. At all. Your server can sit behind CGNAT, and your phone can still reach it. This is, by far, the best security posture for tolerating neglect and not being on top of up-to-the-minute updates.

Tailscale can also issue real HTTPS certificates for Tailscale domain names, which matters because modern browsers and apps increasingly expect proper TLS (evne for internal not-on-the-internet resources).

The obvious downside: your family has to use Tailscale. That might be fine for technical family members. It might be a dealbreaker for others. But for “I want my household and maybe a few trusted people to access my self-hosted stuff,” this feels much closer to the right default than punching random holes in a router firewall.

Tailscale can expose services publicly too, but that raises the bar. Once something is internet-facing, you inherit the full burden of patching, auth,logging, and not making one tiny mistake that turns your recipe manager into a hacker badguy foothold on your LAN.

NetBird

NetBird is in the same general category as Tailscale: WireGuard-based private networking with management layered on top.

The attractive part is that it is more self-hostable/open in spirit, depending on how far you want to go. For people worried about replacing Google/Amazon/Netflix subscriptions with a new dependency on a private networking company, NetBird and Tailscale are both worth looking at.

The practical question is: where is the sweet spot between convenience and control?

Tailscale is very polished. NetBird may appeal more to people who want to own more of the stack. But again, the test is not “can a homelabber make it work?” The test is “can I recommend this to someone who wants the outcome, not the hobby?”

“Aren’t you worried that these companies will be future gatekeepers?”

I get this question a lot. Cloudflare, Tailscale, NetBird — any company sitting between you and your stuff deserves scrutiny.

I worry less about Tailscale and NetBird than I would about a proprietary sync platform because the underlying architecture is WireGuard. If these companies went crazy with pricing or policy, migration would be annoying, but the concept is not locked to some impossible-to-reproduce magic. There are alternatives.

Cloudflare is a different animal. It is huge infrastructure, and most of its money is not coming from tiny homelab users. That probably makes the free/cheap tier less likely to be immediately rug-pulled, but it also means you are depending on a very large intermediary with its own incentives.

So I do not think the answer is “trust these companies forever.”

The answer is: use them where they reduce friction, understand the tradeoffs, and prefer architectures where you can leave. You could have exactly the same worries about Letsencrypt

The second big problem: login with… what?

“Login with Google.”

“Login with Apple.”

“Login with Microsoft.”

It is so simple as a user. It is way harder than it should be when self-hosting.

This is one of the biggest pain points. If I set up Immich, Mealie, Jellyfin, Audiobookshelf, Nextcloud, and five other things, do I now have five or ten different user databases? Do I create accounts for every family member in every app? Do they all have separate passwords? What happens when someone leaves the household? What happens when a password is reused? What happens when one app has weak auth?

The enterprise answer is external identity: LDAP, OIDC, SAML, OAuth, reverse proxy auth, Authelia, Authentik, Keycloak, etc.

That is great if you are already comfortable with identity systems.

It is a disaster if your goal is “make self-hosting easy.”

Some apps support external auth well. Nextcloud, for example, can integrate with external identity providers. Grafana can trust reverse proxy headers if configured correctly. Other apps have partial support, weird support, or no support.

Reverse proxies can sometimes inject headers that tell an application who the user is. That is powerful, but also dangerous if misunderstood. If the app trusts a header and someone can spoof that header, congratulations, you have invented sadness.

This is where Sandstorm.io was interesting. Years ago, Sandstorm tried to solve this by giving users a shared app platform with centralized identity and isolated apps. The project is basically dead now, but the idea was right: applications should be easy to deploy, easy to isolate, and not each become their own little security kingdom.

I do not have a perfect answer here. That is part of why I want this thread.

What should the “easy mode” stack look like?

This is where I want feedback.

For a technical user helping friends or family, what is the sane baseline?

Maybe it is:

  • Docker Compose

  • Tailscale

  • Caddy or Traefik (caddy integration with automatic certs in tailscale is a big one)

  • A small number of carefully chosen apps

  • Automatic updates, but not recklessly

  • Centralized backups

  • Some kind of SSO where practical

  • No public exposure unless absolutely necessary

Or maybe that is already too much.

Maybe the real answer is a curated appliance-like experience: one box, one update system, one auth layer, one backup story, and a limited app catalog that is known to behave.

The rough spots I expect:

“Self-hosting will never be easy.”
Maybe. But home routers, Wi-Fi, NAS boxes, Jellyfin, and password managers all got easier. We do not need perfect. We need dramatically less awful. And now the potential monetary monthly savings has reached a level where it’s worth the time investment.

“People should just pay for services.”
People will pay for what something is worth, sure, but corporations are about to get a reality check on what “worth” means to their average customer. Subscription value is getting worse, not better. Prices go up. Features move tiers. Data gets mined. Accounts get banned for ‘sharing’. “Buy” stops meaning buy by any reasonable definition of “buy”. At some point, owning your own copy and running your own service wastes less of your time than those clowns.

“Normal users cannot handle security.”
Correct. Neither is it important to large companies as evidenced by gestures broadly. But that is why the defaults matter. The answer cannot be “everyone becomes a sysadmin.” The answer has to be sane patterns that technical people can deploy for others with less ongoing risk. Sharing access by tokenized link or platform membership (i.e. tailscale/netbird)

“Self-hosting media is legally messy.”
Property rights around digital goods are already a mess because companies have spent decades jockeying definitions to muddy what ownership means. A cassette tape, a CD, a DVD, and a digital movie “purchase” do not all give you the same practical control. Some of that is legal. I believe some of it is illegal in that it goes against the first-sale doctrine. Some of that is corporate malfeasance We need a return common-sense reasonableness around property rights for assets made of ones and zeros. I know I’m not alone here because the sale price of used DVDs has climbed substantially the last few years… and it’s probably not just inflation.

The practical angle: what saves money or reduces friction?

This does not have to be ideological.

Meal planning and recipe management can save significant real money. If you plan around what is on sale, reduce waste, and cook more consistently, that adds up.

Photo hosting matters because families generate absurd amounts of photos and videos. In no universe does $100/year make sense for “up to” 2tb of space even at 2026 “to the moon” pricing.

Media libraries matter because streaming services are becoming fragmented, expensive, and unreliable as archives.

Audiobooks and ebooks matter because “access” is increasingly temporary and because I would like my notes, annotations and deep links to specific pages available across device upgrades, and to persist for years/decades.

Documents, calendars, and contacts matter because once your life is inside someone else’s cloud, leaving gets harder every year. My “paperless” mail and important document scanning workflow doesn’t have to depend on a subscription either.

So: what actually helped you?

What app replaced a subscription?
What app was not worth the trouble?
What did your spouse/kids/parents actually use?
What authentication setup worked?
What remote access setup worked?
What backup method saved you?
What update broke everything?
What would you never expose publicly again?

Did you browse the selft-hosted github repo and NOT find something that worked? Did you try something and fail? Inquiring minds want to know.

Why the forum, not Discord?

Because Discord is awful for this kind of knowledge preservation and experience sharing. We have threads going back years. YEARS. Some with hard lessons learned. Those are still hugely useful and way easier to find.

What are your pain points? What is your stack? What would you recommend to someone starting from zero? Is there something I’m just overlooking that solves the shared auth problem?

p.s. The progression is from hobby > affliction > illness

(from reddit homelabel)

25 Likes

I don’t even know that this is necessarily true. My mother in her 70s has a VPN subscription, though I don’t think she quite grasps what a VPN will or will not do in terms of security…

The one thing I never see mentioned in any homelab tutorial or discussion is firewalling.

3 Likes

For years I wanted to self-host my forum (although my hosting is not too expensive) and now I have symmetric Gbit fibre, so it’s a feasibility. But security is a major concern and as I need databases, that’s another nightmare managing. Energy pricing is also a major thing here, I’m paying almost twice now compared to just a decade ago :roll_eyes:

3 Likes

If vpn or vpn-like access via tailscale/netbird is off the table, I’m going to reach for ForwardAuth tooling somewhere between oauth2-proxy and something like Keycloak or authelia/authentik… basically no access to internal resource via proxy until you pre-auth via that proxy. That completely isolates all surface area for a given app. This is usually under “web app firewall” not firewall proper.

The transparent proxy does give us a convenient spot to slip in deep traffic inspection and intrusion detection, if desired, too, though.

1 Like

I like to think of the movie Dunkirk, for 2 hours you never see the enemy. But the danger is ever present. You know that someone is out to cause you pain. Even if you do everything right it can still be futile because of some bug or exploit.

After I have set up Immich to replace google photos and text chats for photo album sharing I am done with public-facing self-hosting. This hobby is just to complicated if you care about security.

If selfhosting is going to have any mass market appeal it will need to be straightforward. If it is anymore complicated then installing libre office, scanning QR codes and pasting urls it will fail.

Music is easy. Use credit card get a file. With how currently movies are distributed there is absolutely no reason to set up a movie/tv show library. I will not pirate any media for moral reasons, but I also can not stand the current situation. Buying physical media and ripping myself is not a practical solution. I want to live a life, not maintain a library. I believe consumer protection laws is the only way forward. After stop killing games, this might be the next fight to bring up in EU.

Selfhosting is cool, but everyone being a selfhoster is not a future I want. I rather have better consumer protection laws and good companies I can trust. It is not reasonable for humans to need a server at home to enjoy privacy.

WAF is important, yeah. I have been playing with the ModSecurity CRS nginx container for this purpose.

But I guess my assumption/experience is that there is little valid reason not to enforce some basic firewall policies by ufw of firewalld (or nftables directly for the braver among us). This leads to a bit of an interesting rabbit hole wrt the default firewall policies for Docker containers (they don’t necessarily work in conjunction with ufw which seems to be the more popular/lightweight of the two– who wants dbus just to have an abstraction on top of nf/iptables?!).

Doesn’t your assertion about authelia/authentik rely on: those packages being totally secure (supply chain attacks being what they are these days), admin’s configuration being sane (I’ve seen lots of people skip fail2ban for fear of locking themselves out, for example), and the sanctity of the local network (we assume our home networks are relatively safe but… are they really?).

These are my questions to myself, not challenging your assertion.

Additional reading for anyone interested:

3 Likes

Apologies if this is poorly formatted, still new :slight_smile:

Self-hosting is almost ready for the masses.
Part of this is we want to hear from people who have actually done this. What worked? What was awful? What did your family tolerate? What broke after an update? What scared you from a security standpoint? What would you recommend to someone moving from Level 0 to Level 1?

How convenient, I’ve been deep in this space for years now and looking to give back a bit more. I’m no spring chicken, but I’ll be the first to admit there’s always more to learn. Love the “learning in the open” vibe I get from the forums so far :slight_smile:

The first problem, the core problem: access
Cloudflare Tunnel

Cloudflare tunnels are pretty nice if you need to expose a few simple, “clean” services. The big consideration is that with Cloudflare in the path, any traffic you push through their tunnel also has to fit their terms of service, technically. So that’s a hard no-go on streaming your less scrupulously acquired media. Decent performance, good for stuff like blogs and static content.

Tailscale

Same caveat as Cloudflare here, Tailscale is in the path, technically. Less in it than Cloudflare, sure, but you’re still relying on their servers on the backend for management. Most people don’t mind, and it’s absolutely a clean and easy-to-use service. It was my first foray into mesh networking and it does its job great. If you’re a little put off by another company managing your stuff (which I understand most people are not), you can host your own Headscale instance and use Tailscale clients while controlling the management plane yourself. YMMV, and Tailscale is honestly a decent spot to end for most people. With some forethought on network planning, it’s easy to onboard friends and family without installing a client on every single device.

NetBird

Netbird is my current management plane and the one I’ve enjoyed the most. While reverse-proxy projects like Pangolin are gaining ground fast, Netbird feels like the standard-bearer for open-source mesh networking. It’s entirely self-hosted, you control everything, but you get the polish of a product built by an experienced dev team. I’m a huge fan. If you’re a little more inclined to host your own stuff and go full bore into privacy-focused hosting, check it out.

“Aren’t you worried that these companies will be future gatekeepers?”

It’s a sliding scale of convenience and control, and the same axis carries complexity. Audit yourself and why you’re doing this. Just trying to save money and get away from “big tech”? Go for the more convenient, less complex side. You’ll still land at significantly higher privacy standards than otherwise, and you’ll naturally pick up some skills along the way. Really want to dig in and start learning the stack? Go for the control side.

The second big problem: login with… what?

Another reason I like Netbird so much: built-in reverse proxy and auth management. The whole thing is a bit like a Lego set, with lots of ways to put it together and still end up at a correct answer. Auth is going to come down to ease of use. Not everyone wants to create new logins and remember them for every new service. Social OAuth is a valid way to handle provisioning users in your own stack.

I really only share one service with friends and family, and that’s Jellyfin. I run a split-horizon DNS setup, so my LAN can resolve all subdomains from my Caddy reverse proxy: my LAN DNS server (AdGuard Home) rewrites entries for my domain to my local Caddy IP. If you’re off my LAN, you still hit everything when you hop on the Netbird VPN, and it’s like you’re at home. If you don’t have the Netbird client on your phone and you’re completely off-LAN, I still punch Jellyfin through the Netbird reverse proxy (the split-horizon piece) and set up a password to even resolve through the proxy. Just a shared password phrase, like slipping the secret phrase to enter the tavern’s entryway. Past that, you’re still shook down by the bouncers Jellyfin for a login we set up one-time.

What should the “easy mode” stack look like?

This is the genuinely hard balance to strike. There have been attempts at the “all-in-one” solution before: Unraid, HexOS, etc. Opinionated setups still lock you into a vendor, especially if you’re not technical enough to peek under the hood when something breaks (no shame!). I truly believe with some community crowdsourcing and a little effort put into collating these setups, we could put together a great, sane, “step 1” Docker setup for self-hosting.

“People should just pay for services.”

Nah, I’m sick of getting milked for every single dollar. Companies have made more than enough profit for far too long. They can handle living without my extra $60 a year.

“Normal users cannot handle security.”

Again, I think we can get to a shared, easy, open-sourced “tier 1” of self-hosted security.

“Self-hosting media is legally messy.”

Buy your stuff. Rip your stuff. Self-host your stuff. Re-sell the physical media if you really need the space back.

The practical angle: what saves money or reduces friction?
This does not have to be ideological.

I always start with the ideological because that’s who I am. I’m all-in on privacy-focused and local-first computing. “Indie computing” ftw. But to get people on board, you have to walk the walk and show them it’s not a tightrope, just a pretty easy stroll through the park. You have to meet people where they are and find what matters most to them. I guarantee most people have some issue with “big tech” services that could be easily remedied by self-hosting; we just need to show them the path exists.

So: what actually helped you?

I’ve been through the gamut of apps and services. I’m always trying new stuff and seeing what’s worth it, but I always start with myself as the primary user. At the end of the day, this is my hobby, and I won’t force it on others. I won’t make my partner stop watching Netflix if a show is only on there, but I will try to grab it and get it on Jellyfin first. The alternatives I provide for people need to be as frictionless as, or genuinely more valuable than, the typical cloud service.

Here’s the lay of the land for what I’m running. Two Proxmox boxes run most of the LXCs and VMs: Gitea, Home Assistant, Vaultwarden, the arr stack, the usual suspects. The Docker host handles Jellyfin, SearXNG, Caddy as the reverse proxy with Cloudflare DNS-01 certs auto-renewing in the background, and AdGuard Home for DNS, ad blocking, and the split-horizon rewrites I mentioned earlier. Separate box for local LLM tinkering. Beszel watches the fleet, OPNsense sits at the edge, and Netbird’s control plane lives on a small VPS so even that piece is mine. The whole thing has been humming along for years without a single port forwarded to the public internet.

I’m happy to keep sharing my experiences, both past and future, if others are interested. Maybe through a blog or other forum posts :slight_smile:

If vpn or vpn-like access via tailscale/netbird is off the table, I’m going to reach for ForwardAuth tooling somewhere between oauth2-proxy and something like Keycloak or authelia/authentik… basically no access to internal resource via proxy until you pre-auth via that proxy. That completely isolates all surface area for a given app. This is usually under “web app firewall” not firewall proper.

The transparent proxy does give us a convenient spot to slip in deep traffic inspection and intrusion detection, if desired, too, though.

Firewalling is the part most tutorials skip right past for sure. My setup: OPNsense on a VM at the edge, Gluetun on the Docker host pushing outbound through ProtonVPN, and Netbird handling all inbound. No port forwards.

The ForwardAuth angle is the right move too. If you do need to expose something, pre-auth at the proxy means a misbehaving app can’t be the thing that gets your network owned. Netbird’s built-in reverse proxy covers that for me, keeping auth in one place instead of scattered across every app. Transparent proxy is also a great spot for intrusion detection if I ever go deeper.

The nice bonus: I never touch firewall rules to add a new service. New container goes up, the mesh picks it up, done. Low-maintenance and boring is exactly what you want from this stuff.

3 Likes

I run a pretty small operation. Just a couple services for my spouse and mum. That makes it easier to manage and to be honest, I’m their unpaid lifetime IT support anyway :sweat_smile:

What helped to get out of the ongoing subscription trap

A couple years ago, I looked for a replacement for the ever running Office365 subscription for files/back-ups, contacts, calendar and notes. I had a good discount on it due to work, but still… I wasn’t planning to keep paying a yearly fee to access my own data. I had been looking into getting a NAS for a while, but I didn’t have time/headspace to really dive into it.
Then COVID happened and I found myself at home with plenty of time… It turned into a project and I bought a Synology NAS and MikroTik router. It was finally time to dive in!

At home we’ve got 1Gbit fibre and a static IP, which makes it a load easier to facilitate external access. It was quite a lot to figure out… It helped that I could just try out the defaults offered by my new NAS and router though. Wireguard turned out to work well for me. And the Synology drive, photos, notes, calendar and contacts were easy and well functioning alternatives to what we used.

I tried to see if I could run more and more services. But after fiddling with containers and a load of options I didn’t really use, I just got back to the basic services.
The only non-Synology module I kept running was Plex. Because I didn’t have a better way to handle that. And while the performance wasn’t great (the 220+ just wasn’t up to the load…), it was easy because of the package manager handling everything to set it up.

On accessibility and easy of use

For accessibility; I picked Wireguard. It doesn’t let me manage access to specific devices on my network, but for us three that’s ok. The main reason was that I can run/manage it from my MikroTik router and the apps for their devices are fairly easy to set up.
If I had to manage access for more people and need finegrained control for who can access what. Then NetBird does look interesting. But currently just way beyond what I need.

I had to set it up for them, but it is pretty much a set-and-forget setup.

My ongoing battle is still the media though. I’ve been talking with some friends about external access and have had a single port opened up for it. I won’t let friends access my home network and will take the risk of opening up a single port. I’m fully aware that it is a risk, but it is way easier to share access through a single login for them, than adding a load of VPN things on top.
And with how they almost never actually use it, I’m thinking of just discontinueing that option for them anyway. Makes it easier and safer for me.

Another thing with ease of use and access which I tried and abandoned was webhosting.
I’ve been running websites for years and though “maybe I can do that from home now!” But that adventure turned into a something where I’m very glad to have than handled by an outside party.
It is so much more trouble than it is worth to me to handle the updates, outside access and security. I’ll just keep that with a hosting company.

The update which broke and changed what I run

Plex…
It wasn’t running smooth anyway. As long as I just started a video and didn’t pause or scrub, it was ok. But resuming or going back/forward was something the NAS didn’t really like much. It just lacked horsepower to handle that.

So I bough a NUC.
It had a dual purpose; learning about Linux (I was still on Windows 10 on my desktop) and seeing if I could do more with self-hosted services if I had more power. Then came the Plex update which said that I needed a subscription to share access to my own library… That was the straw and after a bit of fiddling got Podman set up and Jellyfin running.
Jellyfin, now that I put some time in organising all my media, works like a dream and loads smoother than Plex ever did.

The NUC gave me way more horsepower and it allowed me to also run a Minecraft server for my spouse and me. While we don’t use it as often anymore, it certainly makes it easier and cheaper than having a Realms subscription or a similar thing just to keep it accessible.

Where am I now?

Am I free from the MS subscription then? Yeah!
But am I free from subscriptions? Nope… I still pay for cloud back-ups for my NAS. A NAS isn’t a back-up, it is local data access. And I don’t mind paying for a well run service which gives me peace of mind and security.
It might change once I outgrow the current NAS and place this one at my brother or mum to use as off-site back-up. That might get me out of a subscription. But as long as I don’t have a good way for off-site storage, I’ll keep it as is because it is easiest.

I tried a load of different apps on Synology and the NUC. The latter gives me way more options. Because while it may be a bit harder to set up, it actually has the power to run whatever I can throw it at. It might be overkill for what I need, but it’ll keep running for years and years for only the costs of powering it.

About a year ago, I expected never to run another Synology NAS again. But with them backtracking (mostly) due to the backlash, I do see them as a valid upgrade path when I outgrow this model. Synology might not give me full control when compared to TrueNAS/Proxmox with NextCloud. But it gives me so much in ease of use, that I don’t really care. The NAS is the place where my data lives and runs some basic services. And I have my NUC handle heavier tasks. For the coming years, that’s a comfortable way of running things locally.

I’m going to focus on auth and access here.

For me these are two most common scenarios in private self-hosting land:

A) The technologically affine person sets up services for a different household to host on the other household’s devices. Think you”re setting something up for your non-tech friend or parents.

B) The technologically affine person hosts services on their devices and makes them accessible to themselves and possibly others.

In Scenario A), access is the main concern while authentication is less impportant. Everything is KISS with minimal change. Think ones parents who can cope with a synology and password manager, Tailscale runs in the background and everything is limited to services with a single login and that are stable enough to receive automatic security updates.

Scenario A) is the easy one in my mind. There is only the Admin/User separation of trust levels but nothing is open to the web and users are all the same.

In Scenario B), the different trust levels are the challenge.

Using myself as an example:

  • Access by third parties w/o auth through Proxy: Portfolios/ Blogs (consider compromised, full separation)
  • Access by third parties w/ auth through Proxy: Media Streaming/ File Sharing/ Collaboration software (needs backend resources so can access resources through strict firewall rules with IPS/IDS in the way)
  • Private access w/ auth through VPN: Services like Document Manager, Accounting, Photos, Password Manager, NAS Shares, etc. (never accessible to third parties, mostly trusted)
  • And then the last tier of backend stuff on the Management VLAN like IPMI, Network Admin stuff, etc. is even more locked down.

Solutions that I like:

  • Authentik for SSO. Stable through years of updates, nothing to complain about
  • Tailscale for a VPN Solution. It’s very KISS. Don’t know anyone who couldn’t set up the client
  • Nginx Proxy Manager or Traefik depending on the scenario and level of experience

And Pangolin, which is super promising for me because it could be an all-in-one solution to truly not rely on external services. It started out as a proxy service focused on exposing individual resources with certs and auth to different levels of authentication. But they have since added RBAC, good SSO integrations, VPN functionality, and more.

I can see a future once it’s all a bit more stable where one could have a Raspberry Pi or other small machine in a cheap Colo and use Pangolin to solve all the access problems WITHOUT relying on any other external providers.

Of course all of that I can do already with other software. But having it under one management layer would be great.

So I went through this on my end recently. I’ve been getting insanely busy and I simply just don’t have time to play Sys admin. It also needed to be easy enough to use that my wife, who is not very technical, can use it.

I ended up going with UmbrelOS for hosting all my “critical” services. Immich, Jellyfin, etc. Main reason I chose UmbrelOS is that it’s built on top of Debian. So if a rug pull occurs or they were to go out of business then migrating off of it is not impossible. It hand holds a lot for end users and makes setting up backups fairly easy. They also sell an easy to setup box as well so if someone can’t be arsed to do an OS install you can just point them to to their device and from there you can just have them install tailscale on it to access their services remotely.

The only thing I’ve yet to find a good answer for is user authentication across multiple apps… Definitely something I’ve been meaning to dig into, but since I don’t need anyone else besides me and the wife it’s not a priority. I’m hoping one of the applications I use called AMP(Game hosting server) expands to act more like Umbrel as it handles user permissions very well, integrates 2FA, and can be integrated with other IAM options. They are sort of doing that right now as they’ve added generic containers for Python, Node.JS, and even MySQL.

For me, this is what makes things possible.

I have a bunch of projects that could previously only be feasible if on the public internet - but I don’t want to have to deal with the security implications of that.

Then, quite coincidentally, myself and a friend recently decided to try to connect our NASes together so we’d have (another) offsite backup. We tried it via Tailscale, and it just worked. Suddenly I’m able to access my NAS from anywhere in the world, just by launching Tailscale on my phone.

So now a project of mine doesn’t need to be perfect. It doesn’t need to be 100% ready for use on a hostile, insecure internet. Now I can just launch it in my home, and use Tailscale to access it from anywhere.

That means my only remaining issue is shared authentication - but it’s not one I currently care about.

I kinda hope that Tailscale look at some kind of similarly federated OpenID/SAML/OAth solution - so I could pay them to provide an authentication instance only accessible to my Tailscale clients. What I’d care about is that it’s on an open standard, so I could move off it later on with minimal hassle if I decided to leave them.

But auth is a “next step” thing. First up is deciding what I want to write or host, and setting that up…

Only “service” I self host at the moment is backups, and dev VMs.

I’d like to run more - starting with vaultwarden - but my first pain point is TLS.

LE with a wildcard cert may be the most common path out. But registering a public domain so I can get a cert for *.example.com, and then use one private key for everything seems a bit lame. If I get a cert per service then it’s all public in the certificate transparency log. This feels all too complicated and public for someone wanting to work on my own network not the Internet.

I could run my own CA, I’d need to install my CA certificates everywhere, and said certificates would have the power to MITM TLS connections to any site, which feels a bit much. What I could do is specify some nameConstraints, however software support for that doesn’t appear universal and the UX for setting it up via openssl isn’t so nice. I could try to use something like step-ca, but that AFAICT uses an intermediate CA layer, which only adds complication that I don’t think is necessary.

Normally TLS on your LAN is a bit moot, but as want to use vaultwarden I apparently need the web crypto API to work, which apparently only works in a “secure context”, which apparently needs a trusted TLS certificates.

This TLS PITA is all happening on a background of systems that already have SSH keys, and wireguard keys, and wireguard secured links. Needing yet a third public key trust mechanism is all a bit tiring.

So I haven’t bothered. :melting_face:

This stuff IIRC used to be easier, you could opt to trust a TLS certificate in firefox, allowing TOFU.

2 Likes

What app replaced a subscription?

These Replaced subscriptions:

  • Apple Music $17/mo > Navidrome

  • Apple TV, HBO, Netflix > Jellyfin

  • Kindle > Grimmory/Mapleread

  • Audible > Audiobookshelf

  • Apple Photos > Immich

  • Office365 > Libreoffice

  • Apple Notes > joplin

  • Paid NVR > Frigate

    These were new features or functionality that did not replace a subscription:

  • Paperless NGX

  • Wiki.js

  • Gitea

  • Jellyseerr

  • Mealie

  • Home Assistant

  • Romm

What app was not worth the trouble?

  • Arr-suite.
  • Jellyfin for music, works great for tv/movies, not as well for large music libraries

What did your spouse/kids/parents actually use?

Class A users include my parents and my partner, Class B are her parents and siblings. Class A has replaced all subscriptions except MullvadVPN and Protonmail with selfhosted services I host. They regularly use Jellyfin(jellyseerr), Navidrome, Grimmory, Immich, Joplin and Audiobookshelf. Mealie is becoming more popular as I digitize our recipes. Class B users only have access to Jellyfin, but it is used on a daily basis by multiple simultaneously. (This may seem exclusionary but there are security reasons they do not have further access than jellyfin, and my parents do.)

What authentication setup worked?

Basic logins for all services with bitwarden(or vaultwarden) for autofill. Bitwarden for users is amazing. VPN has a more secure entry so the local access has never needed to be a high security operation.

What remote access setup worked?

Unifi has been killer in this capacity. I admin all three home’s Gateway appliances and have Unifi Site-Site vpn tunnels setup to facilitate access when users are at home. We also have a lt2p vpn through my UDM pro setup so users can access services when away from home. VPN is high initial setup work on the admin side, but next to nothing on the user side, you can even use apple shortcuts to automatically enable it when a user launches an app that would need connectivity.

What backup method saved you?

Since most services run on K3s, Longhorn auto backups to NAS is critical. From there, Synology HyperB to the backup NAS, and then Offsite fore increasingly important data. We also do regular backups of phones, and Time machine backups for laptops. This was super useful when my partners Macbook pro cooked itself to death (thanks apple) I was able to get her back up to a few days prior on her new machine.

What update broke everything?

Auto updates! Tried watchtower for auto docker updates once, dont recommend. If things are working, and there is no pressing security patches, sometimes leaving things alone is better. In the same vein, if you have users on phones, disabling auto updates is a must. Immich in particular is notorious for having app versions incompatible with older server versions and this was a frequent cause for issue when I first spun it up.

What would you never expose publicly again?

I dont expose anything publicly. Period. Im paranoid to even let services fetch metadata from the internet. It’s local for a reason, even when apps are open source and audited, I am not expereinced enough to make an audit myself so I lean on a firewall rule of deny deny deny all by default.

Notes:

For starting out Docker/Portainer is very friendly GUI way to learn your way around, try many services easily. While I run K3s now I don’t recommend starting there for obvious reasons.

1 Like

I’m moving from a very very basic and amateur setup to something more production ready but I’ve not been able to settle due to undeciseveness over the container host.

Docker is the “ol’ reliable” but, as the name implies, it’s old in some parts and still relies on the old Linux firewall (cannot recall, don’t want to say the wrong thing).

Podman is the new kid on the block, efficient, fast, modern, but not as tested as Docker.

Running everything on an hypervisor adds a new undeciseveness layer: what’s the right way to host everything? Is it an LXC that’s efficient but less secure? Or is it the usual “Ubuntu server” like distro? Or a dedicated one like Sidecar?

I know there’s no a silver bullet, but I’m still very undecided on what to do for my setup. I’d like to serve the immediate family and have way more computing I’ll ever need for that.

Hosting what I can on Windows, and the rest on Linux through WSL2. What I hate is that there’s only dozens of us that want to do this:

  • Navidrome (Windows native)
  • Plex (Windows native)
  • Vaultwarden (WSL2)
  • Immich (WSL2)

Reason why I do this is because of Windows being a staple of this household, which means Active Directory to manage all things, single unified directory of users and signed SMB access. Which means we can have policies for:

  • BitLocker
  • Work Folders
  • Manage all browsers to make them less horrible from orbit
  • Group Policies to debloat Windows from all telemetry

But this is all a pain that I had to go through because:

  1. I had to build most of my containers by hand
  2. There’s no nicholas-fedor/watchtower (original got deprecated) on Windows on Docker Hub or GHCR
  3. Freaking Windows registry - Containers that use the registry are such a pain and you have to resort to some arcane binaries to actually sync all of this stuff to a separate json config file.
  4. Docker CE natively on Windows has the weirdest script to update.
  5. Getting WSL2 to become a server (and benefit of dynamic allocation of memory) was SO complicated, I had to make a post about it.
  6. Services that require TLS (looking at you Vaultwarden) are so annoying because they are all designed to rely on ACME, but what if I don’t want to have my infrastructure exposed to the internet at all? Good luck with your own CA!

I got a trick for this: I’ve set up NPM to resolve my own home static addresses. That way I got fresh certificates for them auto renewed and it’s easy enough.
I think any reverse proxy will do the trick for this, but I used NPM because it’s the easiest.

2 Likes

When I started looking at this, I went through the “How do I deploy Vaultwarden” troubleshooting. Thankfully I already had a CA deployed so I didn’t have any issues with the certificate itself, plus I have scripts to autorenew and drop the certificates in place.

1 Like

Based discourse! Absolutely better discoverability.

I’ve used this for so long that I can’t really think of other means. I’m still doing that with a port forward and dyndns, but I’d like to get away from that (since that would not be sustainable if we’ll eventually be put through cgnat everywhere).

I’ve kinda been inspired by apalard with his ipv6 only setup, but the problem I have is that on the current remote site, my ISP controls the router and I don’t have a good means to take control over it (meaning I’m stuck with the junk that’s already configured and can’t request a larger prefix delegation or set up more subnets) and on my “main” network, my mobile network ISP only gives me a single /64 subnet (I can’t set up VLANs there).

But this is just the blabbering of a madman and not something normies would have to think twice about. If I knew less than 1/4 of what I do now, I’d absolutely have less of a struggle to set up things in my lab homeprod.

Back when it was bitwarden_rs, I had the same problem. I just slapped it on one of our prod reverse-proxies in an already TLS’ed domain with a reverse-proxy redirect (something like example.com/bitwarden) and that did wonders. Knowing how to manage apache (that was what we already used) was a life-saver to do that.

Since then, I actually preferred doing the reverse-proxy stuff, instead of giving each service a domain, because the domain would get leaked via DNS queries (“back then” DoT wasn’t very prevalent and DoH wasn’t even a thing) and even if that wasn’t the case (idk, hosts entries?) you’d still hide the IP you’re connecting to if everything you were connecting to had the same endpoint (and TLS would protect the service URL you’d be connecting to as well).

I’m actually suffering from the same analysis-paralysis. But in your case, podman running in a couple of VMs should be an easy choice IMO. For me, it’s a bit more difficult, since I don’t want VMs and I want to run things on aarch64 on a couple of SBCs, along with some freebsd jails and some bhyve VMs (and I don’t have much of a clue on how to set things up and no time to rtfm, so I’ve just delayed things for a long time).


I don't feel like I'm contributing to this thread in a meaningful way, so I'll just hide details, if people want to read my ramblings (click to expand).

My biggest problem with my IT-at-home life is that electricity is too expensive. I don’t wanna pay for that. I’ve reduced my systems to SBCs and been watt-pinching (I just coined a derivative of penny-pinching lmao) to the extreme and I keep doing stupid stuff to lower my costs.

My goal in life is to spend as little money as possible, not earn big. That led me on a path of madness, which may soon pay off. All my computers can be powered via DC power, no AC involved (documented on my own rants thread and maybe in the armland thread). I managed to get myself a bunch of solar panels and some batteries and I should soon be able to go off-grid and then stop worrying about power consumption.

After that I can just leave those low-powered PCs turned on again! In fact, if I was not spending my time here (I wouldn’t call this a waste) I’d be outside, working on my solar panels ground mount (on wheels).

When that’ll be done, I’ll document things again on my thread. The only things that I’d call “self-hosting” at this point in time is definitely only NFS. Yes, I have some more stuff in the lab, doing tests from time to time with ipxe, net-booting, root-on-nfs, init changes and more (which I also plan to share with the world), but right now, my personal life only needs 2 NFS servers (my nand fast-access for saving creative commons youtube videos for future referencing and my spinning-rust NFS for archiving my own videos, i.e. personal life media - and arguably my backup server).

All my servers are offline at night. I was planning to have auto-start schedules with wake-on-lan and an always-on odroid n2+ (this thing uses 1 watt at idle) but I’ll have to set up a bit more of a complex network (I can’t have wake-on-lan and vlans and I don’t want to send wol packets on the native / untagged vlan, that thing shouldn’t be used).

That means I need 2 NICs per device (where applicable): 1 for wol and be used as a segregated network for internal comms (storage LAN) and 1 for trunk, which will have management and data access vlans.

I also want my homeprod to be reproducible, but I down-spiraled into obscure stuff that not a lot of people would have the patience to follow. Which is why I kinda want to set up a lab again and deploy stuff like I’d be a normie, so I can document and show people how to do stuff (maybe even automate it for them).

We definitely need more stuff like mailwiz and what ThinkPenguin is planning to do with the self-hosted mail server stuff. My easy-to-follow series was meant to be that, but other than my road-warrior-vpn-setup, I don’t think I’ve followed up on the projects enough.

I need to restart some of those, document everything in depth and only publish when I’m done. I was hoping that people would contribute ideas as the wiki articles as they were getting created / updated, but people (other than myself) don’t re-read the same thing over-and-over to see what changed (discourse wiki plugin actually has a diff on edit, if you click on the edited icon in the OP).

Anyway, rant over. I need to return IRL for some other non-IT projects.

I’m not sure how well will this be formatted but I suppose I can give my 2 cents too. I’m fairely new to all this “self-hosting” thing, I’ve what basically is an htpc that doubles as a “catch-all server” for a few things. Most of them because it can, and because I can (I’ve the hardware, might as well see if the grass is greener on the other side - and at least for now, it is). The backbone of everything is linux, since stuff like docker containers are easier to get going there:

I never got into the whole “pay a sum every month and you get access to heaps of media” thing (never had spotify, apple music, netflix, hulu, amazon prime, you name it). The most important piece of data I have is my music. I won’t get into the legal arguement of how I get all my media, music included, but if there’s a way to get it at the lowest cost possible so I can focus my funds elsewhere, I’ll do so, and that includes “free”. I’m not made of money after all.

  • With that out of the way, the main thing my server runs is jellyfin. It runs on bare metal, no docker/virtual machine stuff. I’ve 50 movies on the pc as I’m writing this, and well on the way to build up my collection out of movies primarily I like, though I’ve taken a few requests for friends as well (will explain the sharing part later). Everyone that uses/wants to use my movie collection has an account that I initially create (I don’t log onto any accounts except mine as there’s no need to). You type in your username, put on your password, and that’s it.
    Both the user name and the password are your choices, I’ll use whatever credentials you tell me for your specific jellyfin account.

  • The other thing I’m testing at the moment (but I’m almost ready to move the setup to the actual hardware) is mealie. This is mostly for me, as I know a few recipes (and found some more on the internet) that I’ve written down on notes on my phone, but I never look at my phone’s notes. I want a more centralised and easy-to-access way to get to all my recipes. That’s where mealie comes in. Runs in a docker container, I’ve almost finished customising the necessary yaml file to my liking, and will shortly move the setup to actual hardware (still testing it on a virtual machine). When I do, all I’ll place all my recipes in there, and will also let the friends I’ve given access to my server know there’s a database of ways to make food fancy.

  • I do also keep some backups of my own stuff like documents, my music collection and whatnot but I think this isn’t the scope of this thread so I’ll just move on.

  • I’m not the only one who uses what my server offers. 2 very close friends of mine have also access to its jellyfin instance and soon enough, they’ll also get access to its mealie one. I use tailscale to easily let them (and myself, if I’m away from home) access the server. It works pretty well and I don’t have to turn my modem-router’s firewall into swiss cheese, which is very preferable (especially since it’s one of those piles of junk provided by my isp). As those friends are pretty tech-savvy, they’ve no issue running the tailscale client every time they want to connect to my mesh vpn and reach the server. I’ve heard no complains from both parties so it just works.
    To make the tailscale integration easier, I’ve created a github account specifically so all of us can use it to register our devices. I don’t know why it doesn’t offer an option to log in/sign up to a tailnet using a simple email that isn’t from google/microsoft, but that’s pretty stupid on their part. Apparently they had such an option but ended up removing it? Even more stupid. Even with such a case, tailscale takes care of all my remote access needs.

  • One of my friends using my server had netflix for a long time but quit due to it raising prices on its subscription. He collects movies manually now, though I also offer him an extra place to store movies since, again, I have the hardware, might as well lend him a hand. Being able to stream them off my server is a pretty good bonus.

Other things I’m planning for the server for a better client user experience that aren’t exactly related to the topic of the thread

I’m also in the process of building a “portal” of sorts (something like yahoo japan) as a central hub where whoever accesses my server would go through before heading to other services I run on it, but that’s still in its very early stages and it’ll take a while, as I’m borderline useless when it comes to software stuff. For the time being, if anyone wants to access something on the server, I give him the tailscale domain of it plus the port needed to access a service (say, 8096 for jellyfin). That’ll do until I can call this “central hub” project ready to use.

The biggest issue I’ve had so far is my internet speeds. Trying to serve media to people hundreds of kms away from where the server is with just 5 Mbps of upload bandwidth can be rough, though it’s still doable. I guess this issue will be tackled once I move out of my current place (which is, easier said than done, real estate sucks in my region and it isn’t getting better anytime soon).

Electricity is another potential pain point, but since I’m running a pc with not many drives and without a dedicated gpu (though that might change down the line), I’m fairly confident my server doesn’t use that much power even though it’s on 24/7.

I’m running a few different services today, fairly minimal by many others standards at the moment, but I can’t say I’m particularly happy with it right now.

Services

All my services run off a single TrueNAS box, with the exception of PiHole, which runs on a Pi 3, because it’s low power and I like to use it for DHCP leases.

  • Nextcloud
  • Jellyfin
  • Bitwarden
  • Paperless
  • Automatic Ripping Machine
  • Immich
  • A few various game servers
  • HomeAssistant
  • Shinobi

Joys

Things are fairly solid these days, my system mostly works just fine with the very occasional downtime for system upgrades, but outside that, it mostly just works.

Woes

Observability, ingress.

I’ve been using an nginx container to handle ingress for the last 3-4 years and while it’s great, it’s required me to have a static IP and that’s requiring me to pay for business class service. One day, I’ll figure out a way around this. I’ve considered using a reverse proxy in Linode or going tailscale/cloudflare, but haven’t really sat down and figured it out.

Observability… is a pain. It’s such a hassle to install the grafana loki prometheus stack, for a mixed docker/bare metal configuration and it’s really not a “batteries included” experience, so whenever I move towards it, I feel like I’m at work and give up after 3-4 hours. Then the next time I’m working on it, I lose a bunch of time because I forgot where I left off. Really, what I’d love for observability is some sort of batteries included system that can provide basic metrics, log aggregation and some sort of simple alerting framework. Anyone have any insights on that? I’ve been looking at Beszel, but haven’t actually taken the plunge yet.

3 Likes