Block Ads on all your devices with Pi-Hole

avatar
(Edited)

image.png

In the near future, Google will be crippling ad blocking software in Google Chrome. While the goal of this is most likely due to their ad-revenue business it will drastically reduce the effectiveness of ad blocking software.

The solution, in my opinion, is to move from Google Chrome to Brave Browser a browser based on Google Chrome but removes Google's invasive features, increases security, has built-in ad-blocking and force HTTPS functionality, and rewards users with BAT cryptocurrency for optionally receiving approved ads.

While Brave Browser is a great solution, it only works while you are using it. Using a network-wide ad blocker like Pi-Hole will protect all your devices including mobile phones, media streaming devices like Apple TV and Nvidia Shield, tablets, and guest devices.

What is Pi-Hole?

Pi-Hole is a free open source product that you can install any Linux device to filter ads across all devices on your network. It is typically installed on a Raspberry Pi and thus the name Pi-Hole.

Pi-Hole acts as a DNS server on your network and returns 0.0.0.0 IP to any request that is used by known ad servers. Pi-Hole subscribes to multiple well-known ad-blocking lists. You can also customize it to enable additional lists as well as lists for spyware sites and intrusive software.

Using a network-wide ad blocker will even block ads in your mobile games.

image.png
You can even use a $5 Pi Zero to run Pi-Hole or any Linux server on your network.

What do you need for setting up your own Pi-Hole?

I would personally recommend a Raspberry Pi 3+ which will cost you less than $35 USD and another $5-10 USD for an SD Card. You will also need a USB power cable but can even use a computer to power your Raspberry Pi through a USB port.

image.png
You can even put a touchscreen on your Pi-Hole

Pi-Hole is really easy to set up that doesn't require you to be too tech savvy but you should know how to set up a Raspberry Pi and install Raspbian. If you are new to the Raspberry Pi, check out the Raspberry Foundations Help Center.


Raspberry Foundation Help Center

Pi-Hole has fantastic analytics of its performance and an easy to use web interface to configure it once it is up and running on your network.

image.png
Pi-Hole Admin Web Interface

From the admin interface, you can monitor performance, and whitelist and blacklist sites. You can also subscribe/unsubscribe to known blocklists. Pi-Hole has a complete audit history of every query on your network and logging if it was blocked or allowed. From there you can whitelist or blacklist entries that either got blocked or made it through.

Once you setup your Pi-Hole you will need to change your routers DHCP service to hand out the Pi-Hole DNS address instead of your normal DNS server. The Pi-Hole is configured to forward any DNS request that isn't cached already to your normal DNS server and return it to your clients.

I highly recommend using CloudFlare's 1.1.1.1 and 1.0.0.1 DNS servers as your forward DNS. They currently operate the fastest DNS on the Internet. You can read more about CloudFlare's DNS here.

Installing Pi-Hole

While installing Pi-Hole is as simple as running the installation script, I would recommend you going through their installation page.

Installation is as simple as:

curl -sSL https://install.pi-hole.net | bash

Then configure your router's DHCP or use the Pi-Hole's built in DHCP server (make sure you disable your router's DNS if you do this).

Provided you have a Raspberry Pi (or Linux box) up and running already.

That's it!

Watching the stats does get addicting, fair warning.

image.png

If you are not using a Raspberry Pi, I do recommend using docker. You can find out more about installing via docker here.

Image Sources: 1 2 3 4 5 6



0
0
0.000
13 comments
avatar

I ran Pi-Hole for a while last year. It was good, but you do have to keep tweaking the black/white lists.I only used it with the main PC as I had concerns the family would be complaining when things stopped working. I may try it again some time. I have multiple Pis doing nothing right now.

0
0
0.000
avatar

Some lists are better than others. There are some good websites that have suggested lists.

YouTube ad blocking is what I had the hardest time with and they are the most annoying.

0
0
0.000
avatar

Does YouTube premium solve that problem?

Posted using Partiko iOS

0
0
0.000
avatar

Yes. You don’t get ads with a paid subscription.

0
0
0.000
avatar

Yay. That’s probably why it’s never bothered me now. I would be watching some epic video then an ad would completely kill the mood.

Posted using Partiko iOS

0
0
0.000
avatar

I’ve been running Pi-Hole for a couple of years. It does a good job once you add a few things to the whitelist. Most of the time I can’t even tell it’s there.

0
0
0.000
avatar

That is a neat trick. I wonder if I can install my vpn at that level?

0
0
0.000
avatar

I know some people install VPN software on Raspberry Pi. In fact I use one for my network control center for my Ubiquiti devices.

0
0
0.000
avatar

Neat. I'll look into it. The thing only allows 5 devices, so before the router is a good one.

0
0
0.000
avatar

Ok it's for raspberry pi, I wasn't sure if it was pronounced "pie hole" or "pee hole" before reading that 🤣

0
0
0.000
avatar

i've yet to set mine up but certainly want too. i think i hunted it on steemhunt and was like when the new raspberry pi 4 comes out i'll certainly use it for that! :) nice information and blog, cheers!

0
0
0.000
avatar

Interesting, typo found! while but doesn’t fit!
While Brave Browser is a great solution, but it only works

0
0
0.000
avatar

Hah, I thought that screenshot was @dclick which has great ads on steem

Hey @themarkymark unrelated but i made a new account to help promote @newdexio and it got flagged like over a $1.60 by @threespeak maybe because It was a fresh account using a bid bot? Only spent like one $8 upvote or maybe $8 or $9 but got an OCDb and threespeak 10% flag, really hope I cna get white listed? The newdex exchange is not some binance clone or some foreign exchange or some promotional thing, im not getting paid, yet at least, and im trying to help steem engine get a boost with better technology, better integration with eos, and its a big plan to allow for smta nd SE pairs on newdex once steem is on scatter, anyway, let me knwo if i can get teh flag taken away by @threespeak thanks

heres the post https://steemit.com/newdex/@newdex-io/newdex-io-community-discord-now-open-join-today-and-get-1-free-ndx-token-just-add-your-eos-account-in-the-comments

0
0
0.000