I’d recommend getting a tiny/1L Dell/HP/Lenovo box and sticking an enterprise grade dual-port NIC from eBay in it instead, if you want a custom router. Mac minis from that production run came with gigabit, and you had to specifically option a 10G NIC (read: they’re harder to find and generally more expensive), and even then you only get a single port.