A few years ago my prime choice as a base platform for this kind of thing would have been some PC-Engines APU board. Alas, those no longer are made.
What it comes down to is having a hardware platform – essentially a consumer grade router – with enough oomph to run the required services. It doesn't take that much, but unfortunately your average consumer router is usually under equipped on storage and RAM.
2/…