Geek's DIY Router Project (Part 2:The software Stack)
The exact software stack I've used has changed over the years. A minimal viable setup would be nftables set up correctly and dnsmasq. I prefer something a little more use friendly
OS: I'm mostly running ubuntu across my homelab petting zoo. There's no reason this wouldn't work on a RH-alike like Rocky or Alma, Gentoo or Arch. The current build's OpenZFS root on ZFS .
Network Management: While people seem to hate netplan - In this specific case there's a few nice things in netplan. I tend to set custom network names for ease of use for example. It didn't work great in 2018, and its unique to ubuntu so support may not be guaranteed.
Firewall: Firewalld - being able to work with zones and policies is very nice, and streamlines set up greatly. In theory there's web UIs for this, but nothing works great for my needs. The machine's mostly administered via SSH anyway
DHCP: In theory kea will give me more flexibility in future, and I might set up stork in future. There's no particular reason I'm running this over dnsmasq or the DHCP in adguard home
DNS: Filtered DNS is pretty nice. I've never gotten pihole working - so I ended up going with adguard home