Build your first home router

The router your ISP handed you is the weakest link in most home networks: slow to update, closed, and often quietly phoning home. Replacing it with a router you control is the upgrade that makes every other project on your network safer and more capable. It is also the natural next step once you have a NAS and a homelab worth protecting. Here is how to do it without overbuilding.

1. Decide what "your own router" buys you

A router you control gives you three things the ISP box will not: updates you decide, visibility into what is on your network, and segmentation - the ability to wall off devices you do not trust. If none of that appeals yet, keep the ISP box a while longer. If any of it does - a homelab, cameras, or a pile of cheap smart-home gadgets - it is worth doing.

2. Pick the software: OpenWrt or OPNsense

Two mature, free, open choices cover almost everyone.

  • OpenWrt runs on small, cheap router hardware and turns it into a proper, updatable, scriptable router. It is the lighter option, ideal if you want a better router without running a separate box. What hardware runs it well is covered at HomeSwitches.
  • OPNsense (and its cousin pfSense) is a full firewall/router OS you run on a small x86 machine - a fanless mini-PC with a couple of network ports. More power, more features (deep firewalling, VPN, reporting), and the natural pick if you are already running a homelab.

Rough rule: want a better router on small hardware, choose OpenWrt; want a firewall appliance with room to grow, choose OPNsense on a mini PC with multiple NICs.

3. Get the hardware right

For OPNsense, the box is a small fanless mini-PC with two or more 2.5GbE network ports - one for the internet, one (or more) for your network. Low power, silent, sits in a cupboard. For OpenWrt, it is a supported router or access point. Either way the networking gear that surrounds it - the router hardware, a managed switch, the cabling - is what HomeSwitches exists to sort out.

Do not overspend. A home internet connection of a gigabit or less does not need an expensive router; a modest 2.5GbE mini-PC handles it with headroom to spare.

4. The payoff: VLANs and segmentation

This is the feature that justifies the whole exercise. A VLAN lets you split one physical network into isolated lanes - your trusted computers on one, cheap smart-home devices and cameras on another that cannot reach your NAS or phone home unsupervised. It is the single biggest security win in a home network, and it is only possible once you own the router.

A sensible first layout: a main network for your trusted devices, an IoT network for smart-home gear and cameras with no access to the rest, and a guest network for visitors. The smart-home devices that behave well behind that wall are catalogued at Domotics; the cameras at CameraScore.

5. Do it safely

Swapping the router touches everyone's internet, so plan for a fallback: keep the ISP box handy, do the change when nobody urgently needs the network, and write down your settings before you start. Bring the new router up alongside the old one, confirm it works, then cut over. Once it is stable, the network becomes something you shape rather than something you are handed.

The short version

Replace the ISP box when you have something worth protecting. Choose OpenWrt for a better router on small hardware, or OPNsense on a multi-NIC mini-PC for a full firewall. Size the hardware to your actual internet speed, then use VLANs to wall off the devices you do not trust. Start with the router and switch hardware at HomeSwitches, and the box to run OPNsense at ServerRigs.