You’ve probably heard of Pi-hole, an open source software package that runs on a Raspberry Pi and blocks ads on any device connected to your network. It’s efficient and cost effective, but requires you to have some technology know-how. This is a detailed write-up if you are interested in setting up Pi-hole by yourself:
As of version v1.27, we’ve added Ad blocking to pcWRT. Behind scenes, we use the same technology Pi-hole uses. But the best thing is, you can easily enable Ad blocking with a single click on the Access Control page. And if you need access to a domain that is blocked by Ad blocking, just list it in the Allowed URLs box to bypass it.