This seems a good option. They also have ready-to-buy router products.
https://www.pfsense.org/products/
Netgate 1100 is a good starting point device.
This also refers to the Squid and SquidGuard for URL/URI filtering, as the other commenter mentioned.
https://docs.netgate.com/pfsense/en/latest/recipes/http-clie...