Overview
Currently, the security side of my homelab is closely tied to networking. I want to know which devices are on my network, what they need to access, and how to avoid giving them more access than necessary.
OPNsense is the main place I manage routing and firewall rules, with separate VLANs for trusted devices, servers, IoT equipment, cameras, and guests.
Segmentation and access
I don’t treat a VLAN as automatically secure. A VLAN separates Layer 2 traffic, but the firewall and routing configuration determine whether traffic can cross to another network.
My general approach is:
- Keep personal administration devices separate from guest and IoT equipment.
- Limit access between networks to services that need it.
- Give guest devices internet access without broad access to internal resources.
- Keep camera equipment on a separate network.
- Review an exception rather than opening up an entire network to solve one connectivity issue.
Things I try to avoid
No exposed management dashboards, internal service details, or credentials just because it makes life easier. If I consider making a service reachable outside my home, I’m careful to consider authentication, updates, encryption, and whether there is an alernate, safer access method instead.
I also avoid putting complete firewall rules, internal host inventories, camera streams, secrets, or management URLs in any public documentation or repositories like my website or GitHub.
Troubleshooting securely
I check addressing, DNS, routing, service availability, and firewall logs before changing a policy. I try to use temporary tests and then narrow the rule to what is actually necessary.
What I’ve learned
Segmentation and access control are ongoing as I add devices and services. I continuously have to revisit which connections are needed and whether an older exception still makes sense. I think this project has given me a substantial starting point in network security.