Turn Your DD-WRT Enabled Router Into A Whole House Ad Blocker

Turn Your DD-WRT Enabled Router Into A Whole House Ad Blocker

Ad-blocking extensions are great for individual browsers but leave out other devices and applications. Set up a router-level filter to block ads for every device on your home network.

Photo by Rusty Haskell.

Sysadmin Geek — the admin-focused branch of How-To Geek — shares a very thorough guide to setting up Pixelserv on DD-WRT modified routers. Essentially the hack revolves around installing Pixelserv (an ultra-minimal web server) on your router and using that micro-server to poison the DNS requests sent to known ad-serving sites. The end result is that ads of all shapes (banner ads, popover ads, video ads) simply fail to load. Unlike a traditional browser-based ad blocker, however, this advertisement white-out extends across your whole network and every device on it.

Check out the full guide at the link below for step-by-step instructions. You'll want to read them carefully and follow along closely; screwing up the configuration means everything gets blocked, just not the ads.

How To Remove Advertisements with Pixelserv on DD-WRT [Sysadmin Geek]


  • I’ve recently tried this just on one of my wireless access points, when connected to it I was ad free, just to test the idea. But I’m sure Youtube must have made a change to their site as I was unable to get any Youtube videos to work while ads were being blocked. So I’ve since switched this off. Was great while it worked…loved the thought of all that save bandwidth 🙂

Show more comments

Log in to comment on this story!