Home

Some questions about how to structure my self-hosting

$$7443
https://lemmy.world/u/versionc posted on Mar 5, 2026 21:11

Hello!

I’ve been playing around with self-hosting for a while now and I’ve started moving over to a VPS. At home I have a PC that’s on more or less 247 with an *arr stack, jellyfin and some other services. They can only be accessed through Netbird. The services aren’t that important, the data doesn’t really need to be backed up since it’s not very important. On the VPS, however, I would like to host some more critical services, such as:

  • Vaultwarden
  • Immich
  • Gitea
  • Overleaf

I want them available 247, even if I decide to distrohop and wipe my PC at home. The problem is how to structure all this. My current idea is to run Gitea and Overleaf out in the open behind some reverse proxy without authentication (Nginx or Nginx Proxy Manager). I’d like Vaultwarden and Immich to be on the same VPS, but, I don’t want those services to be accessible to anyone but me, so I’d need some form of ACL or authentication system. I’m thinking of using Netbird for this, since I already use it on all of my devices.

So I would set up DNS records from within Netbird that would point immich.domain.tld and vaultwarden.domain.tld to the internal Netbird IP of the VPS. In the reverse proxy, I’d set up access control such that it only redirects the Netbird IP range to those services. On Cloudflare, I’d point git.domain.tld to the external IP of the VPS with proxy enabled.

Everything would receive HTTPS certificates, and I’d block incoming traffic on every port except for 80 and 443.

Is this a good setup? Any tips or recommendations? Any pitfalls?

Thanks!

https://lemmy.world/post/43896259
Reply
$$7471
https://slrpnk.net/u/poVoq posted on Mar 5, 2026 22:28
In reply to: https://lemmy.world/post/43896259

I recommend Forgejo over Gitea, and you definitely need an AI scraper blocker like Anubis in front of it as otherwise they will kill your VPS rather quickly, as these AI scrapers absolutely love to scrape code forges.

https://slrpnk.net/comment/21088616
Reply
$$7491
https://lemy.lol/u/HelloRoot posted on Mar 5, 2026 23:13
In reply to: https://lemmy.world/post/43896259

I recommend managing it through Dokploy.

And put crowdsec in front of it to block attacks.

https://lemy.lol/comment/24561636
Reply
$$7513
https://lemmy.ml/u/airikr posted on Mar 6, 2026 00:25
In reply to: https://slrpnk.net/comment/21088616

Many thanks for mentioning Anubis!

https://lemmy.ml/comment/24359243
Reply
$$7529
https://lemmy.ml/u/harsh3466 posted on Mar 6, 2026 01:10
In reply to: https://lemmy.world/post/43896259

I also recommend forgejo over gitea. I’m running forgejo and I love it.

For your reverse proxy, look into pangolin. It combines proxy with wireguard tunneling and auth. So you can set up access controls on a service by service level. It’s great. I use it and love it. No affiliation. Just really happy with how it works.

https://lemmy.ml/comment/24360010
Reply
$$7576
https://lemmy.gf4.pw/u/ki9 posted on Mar 6, 2026 06:00
In reply to: https://lemmy.world/post/43896259

I want them available 247, even if I decide to distrohop and wipe my PC at home.

If it were me, I’d get another machine as a dedicated homeserver and distro-hop on your pc.

https://lemmy.gf4.pw/comment/70448
Reply
$$7597
https://lemmy.world/u/jimmy90 posted on Mar 6, 2026 08:29
In reply to: https://lemmy.world/post/43896259

this sounds like a good setup

i do everything from home using vlan/proxmox/nixos/podman

yours sounds better i reckon

https://lemmy.world/comment/22508063
Reply
$$7603
https://pawb.social/u/forestbeasts posted on Mar 6, 2026 08:48
In reply to: https://lemmy.gf4.pw/comment/70448

The homeserver doesn’t have to be fancy. We’re running all our stuff off a Dell Vostro from 2012 we got for like $30 on Craigslist. (It did need another $30 replacement PSU though. And it has 8GB RAM and a 500GB SSD which is nothing to sneeze at for a machine that cheap and that old.)

https://pawb.social/comment/20995514
Reply
$$7604
https://lemmy.decronym.xyz/u/Decronym posted on Mar 6, 2026 08:50
In reply to: https://lemmy.world/post/43896259

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

Fewer Letters More Letters
PSU Power Supply Unit
SSD Solid State Drive mass storage
VPS Virtual Private Server (opposed to shared hosting)

[Thread #135 for this comm, first seen 6th Mar 2026, 08:50] [FAQ] [Full list] [Contact] [Source code]

https://lemmy.decronym.xyz/comment/15455
Reply
$$7625
https://feddit.org/u/prenatal_confusion posted on Mar 6, 2026 11:27
In reply to: https://lemmy.world/post/43896259

For a reverse proxy I can recommend pangolin. Single sign on, pin password and also private services that you can access via a tail scale betbird like app.

https://feddit.org/comment/11874553
Reply
$$8846
https://hachyderm.io/ap/users/116086634770159259 posted on Mar 8, 2026 14:47
In reply to: https://lemmy.world/post/43896259

@versionc
Nice setup, pretty close to what I run. Few thoughts:

Reverse proxy + auth: I'd look at Traefik over Nginx Proxy Manager - it plays really well with Docker (auto-discovers containers, handles Let's Encrypt certs). For the auth layer on Vaultwarden/Immich, consider Authentik instead of tying it to Netbird. Gives you SSO across everything and you're not locked into one VPN mesh for access control. I run Authentik in front of most of my services and it's been solid (minus the time I accidentally deleted its secrets and locked myself out of everything - back up your auth server config).

Netbird approach: Using Netbird IP ranges for access control on the reverse proxy can work, but it's a bit fragile. You're coupling your network topology to your auth policy. If Netbird changes IPs or you add a device, you're editing nginx configs. A proper auth proxy in front gives you more flexibility.

Gitea / Forgejo: I'd also recommend checking out Forgejo if you haven't - it's a community fork of Gitea that's been moving faster and stays fully open. I ran Gitea for years before switching. Either way, I'd push back on running it without auth entirely. Even for public repos, you want auth on the admin/write side. Forgejo (and Gitea) support public repos with anonymous read access - you don't need to skip auth, just configure repo visibility. The built-in controls are solid enough.

General structure: Your instinct to keep critical services (Vaultwarden especially) off the public internet is right. Password manager should have the smallest attack surface possible. The VPS-as-entry-point pattern is good. I do the same thing with a cheap VPS running a reverse tunnel so my home IP is never exposed.

One thing to think about: if you wipe your home PC, make sure your VPS services can stand alone. Docker volumes + a backup strategy (even just weekly to cheap cloud storage) will save you when something goes sideways.

https://hachyderm.io/ap/users/116086634770159259/statuses/116194100940989391
Reply
$$9162
https://mastodon.furrow.me/ap/users/115923467670715698 posted on Mar 9, 2026 03:18
In reply to: https://hachyderm.io/ap/users/116086634770159259/statuses/116194100940989391

@deepjoy @versionc name dropping Traefik AND Authentik in one comment? Ok, you’re talking my language. Followed.

https://mastodon.furrow.me/ap/users/115923467670715698/statuses/116197052206325316
Reply