In this video I use Pi-Hole running on a Raspberry Pi to block ads across all of my devices on my local network. This solution works on most advertisements and is able to block ads on Smart TV's like in Samsung's "Smart Hub".
Important Links:
Raspberry Pi Imager: https://www.raspberrypi.com/software/
Pi-Hole: https://pi-hole.net/
PuTTY: https://putty.org/index.html
Some Commands Used:
sudo apt update && sudo apt upgrade -y
curl -sSL https://get.docker.com | sh
sudo usermod -aG docker $USER
sudo apt install -y docker-compose-plugin
Troubleshooting (Only if you get a DNS error):
sudo systemctl stop systemd-resolved
sudo systemctl disable systemd-resolved
sudo rm /etc/resolv.conf
echo "nameserver 1.1.1.1" | sudo tee /etc/resolv.conf
Timestamps:
00:00 Intro
00:36 What You Will Need
00:48 Setting Up The Pi
03:29 SSH into the Pi
05:00 Installing & Running Prerequisites and Pi-Hole
07:57 Pi-Hole configuration
08:35 Configure Router
09:58 Demo of Pi-Hole