Web Development / Data / Social / Technology

Home Networking Raspberry Pi “Pi-hole” Project Part 1

The following posts will be on how to set up your own ‘Pi-hole’.

What I wanted to do was set up my Pi to block ads, filter content, and serve as a secure VPN for when I’m connecting out in the real world where the bad hackers live.

I started with a base of Jessie flavored Raspbian.

Part 1 – block ads

This part was easy.  Check this out:


Not much to it.  Start with your base of Raspbian.  Make sure its up to date:

sudo apt-get update

sudo apt-get upgrade

Then go get your pi-hole.

curl -L install.pi-hole.net | bash

Then configure your devices (or router) to use your Pi as its DNS server.

I’m being lazy so you can check out the link above for links on how to do that.

My router would not support it at the router level, so I configured devices individually.  You will need to know your Pi’s ip address.  It should probably be static.  A later post will cover how I handle static ip’s for all my devices.

Now when I browse the web I get empty space where once ads stood.

Next time I’ll go over content filtering.  Until then, stay frosty.