Three dead LXCs and a very useful birthday present

For my birthday I got a BeeLink SER5 Max, and I think I was happier about having a computer I could leave running twenty-four hours a day than about practically anything else. I’d wanted to play with Proxmox for ages, and have a VPN of my own, and a DNS setup which would block ads on my devices, and generally have a little machine somewhere doing things that didn’t depend on my laptop being turned on.

The first problem was power sockets. We didn’t have enough. There’s now an arrangement of extension cords which works and which I try not to think about very hard.

A small graveyard of containers

I installed Proxmox and started creating VMs and LXCs. It’s quite addictive, having an isolated machine you can make appear in a few minutes. You decide to try some service, give it a container, start playing with its configuration, find a problem and somehow create another one. There were about three LXCs I managed to misconfigure badly enough that I eventually deleted them and started over because I genuinely couldn’t remember everything I’d changed. I would love to have a much more dramatic story about this. Mostly it was me learning how to use Proxmox and doing slightly stupid things.

The setup settled into an Arch container for services including WireGuard and internal DNS and an Ubuntu VM for Nextcloud. I know an Arch container for infrastructure is a choice, but it’s a distribution I know very well, and that was rather useful whenever I broke something and had to work out what I’d done.

WireGuard was one of the things I’d wanted from the start. I thought about Tailscale, but I wanted to set the tunnel and the routing up myself, especially the DNS side. There is a peculiarly satisfying point where your laptop is on another network, the VPN is connected, and a familiar hostname resolves to the machine sitting in your room at home. Getting there involved a lot more thinking about addresses, which interface a packet actually goes through, DNS resolution on different networks, and why something that works inside the house can apparently disappear as soon as you try it from university.

The DNS-level ad blocking was another motivation. It means I can play those free mobile games which normally show an advert after every level and, wonderfully, the advert doesn’t appear. I feel this is an excellent return on the effort required to learn about VPN routing.

The important achievement was a folder

Before Nextcloud I was moving files between my laptop and desktop by sending them to myself in a private Discord channel. This worked, technically. Then there were notes and assignments and PDFs and project directories and files I couldn’t remember sending, and I would sit on one computer wondering which version of something was on the other one, and sometimes that was how I discovered I’d forgotten to send a file altogether.

Now I put the file in a folder and it appears on both machines.

I cannot adequately express how good this felt. It’s one of those things which becomes so ordinary after a week that you forget how irritating life was before it, until you’re somewhere without synchronization and suddenly have to think about where every file actually lives again.

The homelab is a mix of that very boring usefulness and an excuse to try software I find interesting. Some things stay, others last a few hours and disappear. People keep telling me to install Jellyfin and maybe I will at some point, but I’m quite happy with having a server that does a few things I actually use, and also a place where I can break something without taking my main computer down with it.

I like that the little machine is still there doing its thing when I’m out of the house. Occasionally I remember I have it, open Proxmox and decide to make one more container, which is usually the beginning of another small disaster. Anyway, Nextcloud is worth the entire setup on its own. Also the mobile game ads. Especially those.