Live data from Hacker News

Ad blocking with Raspberry Pi and Pi-hole

cri.dev

1–10 of 163 posts

Re: Ad blocking with Raspberry Pi and Pi-hole

#2
Pi-Hole is a great project, and it's not limited to running on a Raspberry Pi either. I've got it running as a (x86-64 Ubuntu) VM in the same hypervisor that hosts my firewall. It's lightweight, super responsive, and provides great statistics on what it is doing.

Re: Ad blocking with Raspberry Pi and Pi-hole

#3
I'm looking for a way to combine the adblocking with a VPN switcher that takes eg NordVPN and routes all my home traffic through a variety of tunnels (they provide a load of openVPN files). Is there a ready-made way to do this? The idea is for anyone in the house to be protected by both the adblock and the VPN.

Re: Ad blocking with Raspberry Pi and Pi-hole

#5

I'm looking for a way to combine the adblocking with a VPN switcher that takes eg NordVPN and routes all my home traffic through a variety of tunnels (they provide a load of openVPN files). Is there a ready-made way to do this? The idea is for anyone in the house to be protected by both the adblock and the VPN.

I'm not aware of an "out of the box" solution, but maybe paying for NordVPN or similar will do this for you.

VPNs typically tunnel your packets thru an encrypted connection to a gateway somewhere else on the internet.

Ad blockers point your DNS to a resolver that blacklists ad domains. You can use a VPN and still set your DNS to whatever you'd like. What works best for you will depend on your threat model (or just privacy concern, as that other term sounds loaded).

Re: Ad blocking with Raspberry Pi and Pi-hole

#7
post #4

> Use it for ad-blocking in your home network and to finally browse the web, watch videos etc. without annoying ads. It doesn't really do this as well as a browser adblocker, YouTube ads for example can't effectively be blocked with pihole

it's not really fair to compare it to an in-browser adblocker that way, especially since using them isn't mutually exclusive. PiHole blocks ads whether you are in a browser or not, an instant benefit for everybody on your WiFi network.

Re: Ad blocking with Raspberry Pi and Pi-hole

#8
I use pi-hole, and it's great, but for browsers you still need something like uBlock Origin installed to properly block ads. The thing I like about pi-hole is it also blocks a long list of trackers that are bundled by various mobile SDKs. There's no way to block those with iOS or Android, except at the network level.

Re: Ad blocking with Raspberry Pi and Pi-hole

#9
post #4

> Use it for ad-blocking in your home network and to finally browse the web, watch videos etc. without annoying ads. It doesn't really do this as well as a browser adblocker, YouTube ads for example can't effectively be blocked with pihole

it's not really fair to compare it to an in-browser adblocker that way, especially since using them isn't mutually exclusive. PiHole blocks ads whether you are in a browser or not, an instant benefit for everybody on your WiFi network.

Exactly this. Ads in places like news apps disappear, a big plus for pihole.
Post reply on HN