diff options
Diffstat (limited to 'wired/magazine/pihole.txt')
-rw-r--r-- | wired/magazine/pihole.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/wired/magazine/pihole.txt b/wired/magazine/pihole.txt new file mode 100644 index 0000000..9a5ea6f --- /dev/null +++ b/wired/magazine/pihole.txt @@ -0,0 +1,17 @@ +The $35 Raspberry Pi computer is small enough to fit in an Altoids Tin, but it's still powerful enough to run a network-wide ad-blocker, and stop websites from tracking you. The advantage of a Pi is that you don't have to setup ad-blocking on every device in your home. Pi-hole, as the popular Raspberry Pi app is called, handles stopping across your entire network from a single web-based interface. + +Pi-hole sits between your devices and the internet at large and intercepts all incoming traffic. It then decides whether or not each request should be passed on to your devices. To decide which bits of traffic pass muster, it uses a combination of whitelists and blacklists to filter and block what you don't want. + +To get started you'll need a Raspberry Pi, and you'll need to be comfortable using the command line. We'll assume you already have Raspbian OS, which came with your Pi, set up and running. + +Step 1: Connect to your Raspberry Pi using SSH in your terminal. Once you're at the prompt for your Raspberry Pi, use this line to download the Pi-hole installer: + +curl -sSL https://install.pi-hole.net | bash + +Tech savvy readers may not like blindly executing a script they haven't read. If you'd like the Pi-hole GitHub page has instructions on how you can install Pi-hole without downloading and executing this install script. + +Step 2: Connect to Pi-hole via the web browser. We're done with the command line so you can close your terminal. Then open up a web browser and navigate to http://pi.hole/. This is where you'll control Pi-hole, decided what to block and what to allow. The defaults that Pi-hole provides will block the most egregious trackers on the internet, but you can always fine tune it to suit your needs. + +Step 3: Configure your router to use Pi-hole. Now that Pi-hole is step up, we need to route all our traffic through it. Open your router's control panel in your web browser and look for the DHCP/DNS settings under LAN setting (not WAN). Enter the network address of your Raspberry Pi. This will be something like 162.168.1.xxx. + +That's it! Congratulations, you now have a network-wide ad-blocker installed. |