tvRoku Pi-hole DNS Redirector

Block ads and trackers on your Roku device even when you can’t change router settings. This Python tool uses ARP spoofing to intercept DNS queries from your Roku and forward them to your Pi-hole server — no router access required.

Get started

1

Install dependencies

Clone the repository and install Python packages. On Windows, also install Npcap.

git clone https://github.com/maddog1110/pi-hole-on-roku-without-router-access.git
cd pi-hole-on-roku-without-router-access
pip install -r requirements.txt
2

Find your device IPs

You need the IP address of your Roku device and your Pi-hole server. Both must be on the same local network. The tool can auto-detect your router IP.

3

Run the tool

Launch interactively or pass arguments directly:

python roku_pihole.py --roku 192.168.1.100 --pihole 192.168.1.2
4

Enjoy ad-free Roku

DNS queries from your Roku are now intercepted and filtered through Pi-hole. Ads and trackers are blocked automatically.

This tool requires administrator or root privileges to perform ARP spoofing. Run with sudo on macOS/Linux, or as Administrator on Windows.

circle-info

This tool requires administrator or root privileges to perform ARP spoofing. Run with sudo on macOS/Linux, or as Administrator on Windows.

Last updated

Was this helpful?