[–] 10 points 8 months ago*

Many people talking about using subdomains, but that's only really a thing if you actually have a domain. Just last year the domain .internal was reserved for internal use, so that's what I've set up all my domains to use. E.g. https://pihole.internal/, https://proxmox.internal/.

To make this work I use pihole's local dns records to rewrite any *.internal domain to point to my reverse proxy Caddy's ip.

As for the certificates, I created my own CA, which I install on all my and my family's devices. Then, for each new url I set up, I create a new certificate and sign it with my CA certificate, then have my reverse proxy serve it.

This all sounds like a lot of work, and it is, but using OPNsense for both reverse proxy and certificates makes it well integrated and certificates are trivial to renew. With that said, if you have your own domain, go the let's encrypt subdomain route instead imo. It saves you a lot of manual labor with setting up your CA on every device you own and creating new certificates for each site.

  • source
  • [–] 3 points 8 months ago (1 child)

    I usually explain it like email, most people get it then. Doesn't matter if you're using @outlook.com or @gmail.com when sending an email, you can talk to users on either as long as you specify the server address (which is mandatory in email anyway).

  • source
  • parent
  • context
  •  

    Heya.

    I'm still pretty new to the homelab scene, so the more detail you can add the better. I'd like to add some sort of log aggregation tool, something like Elastic, where I can go to look at logs from any of my systems that aren't working, or just make sure I don't miss any errors.

    Pretty much everything I run is set up as a Proxmox LXC from Proxmox helper scripts, which most of the time means it's running as a systemctl service. Sometimes they run in Alpine instead, and a few of my apps also run in Docker.

    What's a good app to aggregate logs from those sources? I've heard of Prometheus, Grafana and Loki but not sure if they do what I'm after, they seem pretty overwhelming and more focused on metrics, whereas I want to be able to search for and view logs. I'd appreciate if you also mention the basic steps to send the logs from each container to said app.

    [–] 2 points 10 months ago

    It's been a complete mish mash of greatness and tragedies. Not a week goes by without me having a bit of both. Only time I've had to boot back into windows was for a bios update that I couldn't get to work through Linux, but I've also had to make a few sacrifices and accept that I can't have everything good in life on Linux. But the opposite is also true, you can't have everything good on Windows, so I'm content for now.

  • source
  • view more: next ›