Why These Six
A homelab starts as one box and one weekend project. Then it grows. It gets more services, more storage, and a separate edge machine for the network perimeter. At some point the defaults stop working, and the fixes are rarely the obvious ones.
I hit these six problems when I split my lab across several nodes. Each one has a short fix. Each one taught me something that I now check first.
Keep Downloads and Library on One Mount
At first, I mapped my download folder and my media library into containers as two separate volumes. When a download finished, the automation tried to move the file into the library. The kernel sees two mounts as two filesystems. So a “move” became a full copy. It was slow, it used double the disk space, and it put a heavy load on I/O.
The fix is the layout that the TRaSH Guides recommend. Mount one parent directory into every container that needs it, and keep both folders under it.
/mnt/storage <- mounted into every container as /data
├── downloads/
│ ├── movies/
│ └── tv/
└── media/
├── movies/
└── tv/
With a single mount, a finished download creates a hardlink in the library. That is two names that point at the same blocks. It takes a fraction of a millisecond and uses no extra space. The original stays where it was.
There is one limit. Hardlinks do not work on FUSE cloud mounts (rclone and similar). Those filesystems have no inodes to link to. If the library is on a cloud mount, plan for real moves or copies.
Give the Scanner a Container, Not a VM
Network discovery tools (NetAlertX, nmap, arp-scan) forge ARP packets, ICMP probes and raw frames. I thought that meant I had to run them in a full VM. That is wrong.
My network sentry runs in an LXC on Proxmox. These are the relevant lines of its config:
# /etc/pve/lxc/<ctid>.conf (relevant lines)
features: nesting=1
# no "unprivileged: 1" line here: this is a privileged container
A privileged container keeps the raw-socket access that the scanners need. So nmap, arp-scan and friends work out of the box. This is a real trade-off. Root in a privileged container is much closer to root on the host. I do it only for this one appliance-style guest. It runs on a node I control, with software I trust.
If you want to stay unprivileged, try the tools there first. Unprivileged containers still have raw-socket access inside their own network namespace. Basic ARP and ping scans often work fine. Use a privileged container only when a specific feature fails.
On small edge machines, the reason is memory. These are rough figures from my own nodes:
| VM | Tuned LXC | |
|---|---|---|
| RAM baseline | about 1.5-2 GB | about 150-250 MB |
| Boot time | 20-30 s | 1-2 s |
Report Bans to a Shared Blocklist, and Pull One Back
A firewall that only reacts stays inside its own box. My setup used Fail2Ban to catch repeated SSH or web failures. Fail2Ban then added drop rules in nftables. The kernel drops the packet, so the daemon never sees it. That part is standard.
I added reports. When a ban fires, two things happen:
- The firewall drops packets from that address.
- A script posts the address, an attack category and a scrubbed log line to AbuseIPDB. Example categories are 18 for brute force, 22 for SSH and 14 for port scans.
It also works in the other direction. AbuseIPDB publishes a blocklist of the addresses with the highest abuse confidence scores. I load that list into a firewall set on the edge. So the edge drops known bad hosts before they can complete a handshake with my ports.
Update, October 2026: Since then, I retired Fail2Ban on the cloud nodes. On a timer, they now pull a shared blocklist of the most abusive addresses. The firewall drops those addresses before they reach a service. The lesson stays the same: share what you learn about attackers, and block at the kernel.
The eMMC Partition Naming Trap
Some mini-PCs have a small onboard eMMC drive (/dev/mmcblk0). On these, the Proxmox VE 8 installer can fail after it partitions the disk. It shows this error:
unable to get device for partition 1 on device /dev/mmcblk0
The cause is naming. sda gets sda1, and nvme0n1 gets nvme0n1p1. But the installer used the SATA style and looked for mmcblk01. The real node is mmcblk0p1.
There are two ways around it:
- Symlink loop. At the disk-selection screen, switch to a root console (
Ctrl+Alt+F2). Run this loop in the background. It creates the three names that the installer expects (boot, swap and LVM):
while true; do
[ -e /dev/mmcblk0p1 ] && [ ! -e /dev/mmcblk01 ] && ln -s /dev/mmcblk0p1 /dev/mmcblk01
[ -e /dev/mmcblk0p2 ] && [ ! -e /dev/mmcblk02 ] && ln -s /dev/mmcblk0p2 /dev/mmcblk02
[ -e /dev/mmcblk0p3 ] && [ ! -e /dev/mmcblk03 ] && ln -s /dev/mmcblk0p3 /dev/mmcblk03
sleep 0.2
done &
- Debian first (my recommendation). Install Debian 12 with the netinst image. It handles eMMC correctly. Then add the
pve-no-subscriptionrepository and install theproxmox-vepackages on top.
Put a Reverse Proxy in Front So Moving Is Cheap
If everything points at raw addresses, it hurts to change the IP of a service or move it to another host. My chain prevents that:
client -> local DNS (wildcard record) -> reverse proxy (TLS) -> SSO check -> backend
- A wildcard DNS record sends every service hostname to the proxy.
- The proxy terminates TLS. It asks the SSO portal if the session is valid.
- Only then does it forward the request to the backend address.
The wildcard record and the SSO cookie belong to the domain, not to a backend IP. So a service move changes exactly one thing: the “forward hostname / IP” field in the proxy. Save it, and nginx reloads. No bookmarks change, I do not flush DNS, and nobody gets logged out.
“Local-Only” Cameras Still Need Quarantine
I bought a budget 2K camera with local RTSP/ONVIF support. Local streaming does not make it trustworthy. The setup needs a vendor cloud app. The stock firmware keeps phoning home. Cameras in this class had authentication bugs in their web interfaces before.
So I treat the camera as hostile:
- Update the firmware during the first pairing, before anything else.
- Put it on an isolated IoT network segment, away from hypervisor management and workstations.
- Block all its outbound internet traffic at the edge firewall.
- Allow one direction only. The recording box (Frigate or go2rtc) may reach the RTSP port of the camera to pull the streams. There is one stream for recording and a smaller one for detection. Nothing else may reach its management interface.
Takeaways:
- Put downloads and library under one mount, or hardlinks do not work. They never work on cloud FUSE mounts.
- Give an LXC the specific capability it needs before you use a VM.
- A firewall can report bans to a shared blocklist and also import one.
- On eMMC, check the partition names (
mmcblk0p1). The cleanest install path is Debian first, then Proxmox. - Show every client service names, not IP addresses. Then a move is a one-field change.
- Update, isolate and block outbound traffic for any “local-only” IoT device.