
algernon
@algernon@lemmy.ml
A tiny mouse, a hacker.
- Comment on What is your cloud backup solution? 3 weeks ago:
Way back when, my Dad always told me to have at least three copies of everything, because one backup is no backup. So I have a 1TB Storage Box at Hetzner (€4/month, in a different datacenter than my VPSes) I push backups to with Restic. I also backup to a local machine (also with restic), and to my Dad’s NAS (you guessed, with restic), and to my old Debian server until I decommission it (also with restic).
All legs have different retention settings, based on how much space I have at a particular backup site.
- Comment on what's the simple way to map services to subdomains instead of specifying the port number? 2 months ago:
Check their docs, mostly.
- Comment on what's the simple way to map services to subdomains instead of specifying the port number? 2 months ago:
If all your services support binding to a unix socket, I’d bind them to
/run/<servicename>.sockor similar, and set up a reverse proxy that hits/run/$servicename.sockwhen serving$servicename.devicename.lan. If the service can’t bind to a unix socket, you can probably socat it or similar, and keep using the generic reverse proxy. Then, all your router has to do is route port 80 to your Debian machine. - Comment on Anyone use Clevis + Tang to protect data on their home server? 2 months ago:
I’m running Tang on a VPS, outside of my homelab. Servers in my homelab set up networking and a dedicated WireGuard tunnel to the VPS from initrd, to be able to talk to Tang, to help unlock the filesystem. The WireGuard tunnel is only allowed from my home ISP’s ASN. So if anyone picks up all my equipment from my homelab and walks away with them, they will not be able to boot them up, unless they connect from my ISP’s ASN (good luck), or know the passphrase.
Additionally, some of my homelab computers that support TPM also have a TPM pin, so walking away with the disk only, and connecting from my ISP’s ASN would still not be enough. This is rather pointless, anyone who walks away with the disk only will likely take the entire computer instead. But it was fun setting it up.
In the not so distant future, I’ll update this setup to use Shamir Secret Sharing more, where I’ll have three pins: my VPS (via Wireguard), a small computer somewhere else in my apartment, and a third at a neighbour (+ TPM on supporting computers).