When I got 10 Gbit internet at home I didn’t like the prices of any of the 10G routers for sale so I built my own out of a $80 used ThinkCentre Tiny, $7 PCIe riser, and $20 dual-10G Intel NIC. My APs are the Ubiquiti UniFi APs I was already using (The router I switched from was a Ubiquiti USG3)
Initially I tried opnSense (and pfSense) but no matter what I did I couldn’t get 10G throughput, so I switched to OpenWRT which has been working great. I feel like the Linux kernel will have better support than FreeBSD since it has a bigger user base.
For a 1G/2.5G network you can probably get a way with even cheaper hardware.



FWIW to anyone reading this and shopping for hardware, the card I’m using is an Intel 82599ES.
But I’ve had the same issues on a TrueNAS machine with a Mellanox ConnectX-3. I assume the limited speed was just due to the hardware, but after upgrading from TrueNAS CORE to TrueNAS SCALE, suddenly I was getting full 10 Gbit throughput.