You are currently viewing the United Kingdom version of the site.
Would you like to switch to your local site?
14 MIN READ TIME

Ban intrusive ads from your network

YOU’LL NEED THIS

PI-HOLE  ( https://pi-hole.net ), which requires Linux or Windows

(through Docker or WSL)

EVERY TIME A DEVICE on your network connects to the internet—in particular the web portion of it—there’s a load of junk downloaded alongside the legitimate content you want to access. Popup ads, trackers, and unsavor y subjects are just part of it—there’s the real danger of stumbling upon malware, too. By now, you’ve probably already made use of an ad blocker to protect your main PC, and your mobile browser may feature some limited ad-blocking tools, too.

But imagine if you could protect your network—including your smart devices—from this unwanted junk, all from one location. The good news is that Pi-hole is designed to do just that. Configure it as your DNS ser ver—the tool used to resolve domain names like tomshardware. com into their underlying IP address (199.232.194.114)—and it’ll act as a filter, screening and blocking known ‘bad’ IP addresses to prevent unwanted material getting on to your network.

Not only does it protect you from potentially malicious behavior; it’ll speed up web browsing and boost privacy, too. Setup may look a little fiddly, but we’ve done all the hard work so you can get your network protected in under an hour.

A

1 GET READY TO INSTALL

Pi-hole is a Linux-based tool, compatible with the Raspberr y Pi (as its name implies), as well as major Linux distros, like Ubuntu 20.04 or later, including variants such as Mint, as well as modern versions of Debian and Fedora. It can be installed natively on these systems, while there’s also a script for Windows systems that installs Pi-hole through the Windows Subsystem for Linux (WSL). A docker container is also available, although that is much trickier to set up, so we’ll be focusing on the script-based native install in this tutorial.

» One major prerequisite—the PC on which you’ll deploy Pihole (the ‘host PC’) should have a static IP address that doesn’t change, so the rest of your network knows where to look for their DNS ser vices. This can be done from your PC’s end—Windows users would navigate to ‘Settings > Network & internet’, select either WiFi or Ethernet, then change the IP assignment from automatic to manual—or you may be able to do it from your router’s end if it supports DHCP reser vation, which basically instructs your router to permanently assign a specific IP address to a device based on its MAC address.

» For example, on Synology routers, you’d first open Network Center > Status > Device List tab’. Identif y your PC from its network name, then make a note of its MAC address. Now, navigate to ‘Local Network > DHCP Reser vation tab’, and click Add. You’ll need to enter your PC’s MAC address, plus the static IP address you’d like to assign it (the host name is optional) as shown in [Image A]. Click OK, and restart your PC to force the change.

Unlock this article and much more with
You can enjoy:
Enjoy this edition in full
Instant access to 600+ titles
Thousands of back issues
No contract or commitment
Try for 99p
SUBSCRIBE NOW
30 day trial, then just £9.99 / month. Cancel anytime. New subscribers only.


Learn more
Pocketmags Plus
Pocketmags Plus

This article is from...


View Issues
Maximum PC
January 2024
VIEW IN STORE

Other Articles in this Issue


editorial
TOUCHING GREATNESS
Guy Cocker WHEN IT COMES to building novel
QUICKSTART
AMD’s APUs go Zen4
8000-series good news for budget gaming
WIN12 NEXT YEAR?
THE NEW WINDOWS MIGHT FINALLY HAPPEN
COPILOT GETS GPT4 TURBO
This AI is about to get even more intelligent
Tech Triumphs and Tragedies
A monthly snapshot of what’s good and bad in tech
NVIDIA SWERVES CHINESE SANCTIONS
Regulators not happy about it either
WIN10 USERS TO PAY FOR SUPPORT
Home users need to upgrade or pay
Threadripper hits 6GHz on 96 cores
AMD’S ZEN 4 THREADRIPPER 7000-SERIES launched recently. There
The L2 RAM Disc
Fast storage means getting close to the processor.
AI ain’t Green
We all know that cryptocurrencies chew through a
RTX 4090 Banned in China
TECH TALK
THE LIST
THE BEST GAMING KEYBOARDS
We’re to blame when our AI overlords arrive
TRADE CHAT
DOCTOR
THIS MONTH THE DOCTOR TACKLES...
MAXIMUM PC
How Much Power Do You Need?
Core i9 vs Core i5
STOP USING PASSWORDS
Passwords are a hassle to remember and enter, and offer only weak protection for your online accounts. Robert Irvine explains why you should now switch to passkeys
WINDOWS 10 STICK, UPGRADE OR SWITCH?
Don’t panic THOSE WERE THE WORDS so famously
Linux Mint
Nik Rawlinson is already a Linux convert. Here, he offers a few good reasons to switch
Tiny11
We asked Nik Rawlinson to move out of his comfort zone and give this strippeddown version of Windows 11 a try
Windows 11 in the cloud
There is a novel, if painfully expensive, option: stream a Windows desktop instead. Jon Honeyball delivers his verdict
Windows 10 end-of-life security reality check
Davey Winder explains how vulnerable you’ll be if you decide to carry on using Windows 10 past its sell-by date
CENTERFOLD
PERFORMANCE GEAR LAID BARE
WELCOME TO STREAMING SCHOOL
How to get started streaming on Twitch and what hardware you need for it
R&D
HOW TO STEP-BY-STEP GUIDES TO IMPROVING YOUR PC
TIP OF THE MONTH © MICROSOFT, PI-HOLE.NET ,
Supercharge Chrome (and Edge)
YOU’LL NEED THIS GOOGLE CHROME https://www.google.com/intl/en_us/chrome CHROME
Use package managers to download safely
YOU’LL NEED THIS WINDOWS 10 OR 11 www.microsoft.com/en-us/software-download
Yet another GPU shortage
This time, it’s political
Ducky ProjectD Outlaw65
Construct your own keyboard
IN THE LAB
Asus ROG Maximus Z790 Dark Hero
A dollar too far?
Asus TUF Gaming GeForce RT X 4090 OC
What is going on with RTX 4090 prices?
Lenovo LOQ 15APH8
A rare miss from one of the best laptop brands
Asus ROG Strix Scar 16
If there’s such a thing as a value $2,500 gaming laptop, this is it
Asus ZenScreen GO MB16AWP
A take-anywhere monitor that’s a surprisingly complete package
ASRock Z790 Riptide WiFi
Do you really need to spend more?
Nacon Revolution 5 Pro
Not one for the PS5 owners, that's for sure
Corsair iCUE LINK Ecosystem
Single cable daisy-chaining luxury
Creative Zen Hybrid Pro SXFI
Well-rounded headset offering great value
Avatar: Frontiers of Pandora
A good Far Cry with big problems
Google Chrome vs Firefox
One’s a behemoth, the other an old(er) pretender
LETTERS
LETTERS
WE TACKLE TOUGH READER QUESTIONS ON...
THE BUILDS
THIS MONTH’S STREET PRICES...
Chat
X
Pocketmags Support