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:

http://jacobsalmela.com/block-millions-ads-network-wide-with-a-raspberry-pi-hole-2-0/#install

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.

Categories: Web Development

Related Posts

Web Development

WordPress Web Application Development Review

I recently read WordPress Web Application Development by Rakhitha Nimesh Ratnayake.  You can get your copy here: http://bit.ly/1e3ioxG As the title implies it covers using WordPress as your application framework.  I highly recommend this book even if Read more…

Snippet

Return vs Echo

I recently made a mistake that I wanted to share. It might save you a headache. When making a short code make sure to return a value and not just echo it out. The echo Read more…

Web Development

CSS Font Shorthand

I’m always forgetting the CSS syntax for font in shorthand format. Here is a great reference: Font Shorthand