In light of the wave of new security vulnerabilities in the previous weeks, I began to think a lot about how those could affect my homelab. In doing so, I tried to better document my homelab infrastructure so I could understand where I was at risk. This made me realize two things: I was potentially vulnerable in ways I hadn’t considered, but also that my homelab is a mess, with a lack of consistency. This was due to the fact that I was applying what I was learning immediately, without a concept of best practice. Ultimately, I decided to recreate my entire homelab environment and its infrastructure, which I have been working on for the past few weeks. My goal was to recreate what I had but in a consistent, documented, and more secure way. Largely, I have accomplished this goal, but there always is still work to be done.
In the coming weeks I’ll be sharing my knowledge (old and new) over topics like migration, virtualization, network segmentation with VLANs and subnets, VPNs, DNS, infrastructure-as-code, and personal digital security using tools such as OPNsense with Unbound, Proxmox, Wireguard, Docker, Traefik, and more.
I also want to note that currently I am rebuilding through a double NAT. This is not necessarily intentional and I would prefer to utilize a single OPNsense router for my entire home network. I am financially constrained and do not have the hardware to have a dedicated OPNsense machine with an access point for home devices. Therefore my OPNsense instance is hosted on my Proxmox node, behind my ISP router. When creating these guides, I have attempted to write them so they are applicable in both a double NAT and single NAT setting. When I do acquire the hardware to have a single NAT, I will write a guide on migrating to the single NAT.