Re:Setting Up an Ad-Blocking VPN with WireGuard and Pihole
by crankylinuxuser on Thursday April 25, 2019 @01:02PM
(#19750143)
> it'd block YouTube ads and similar on my Smart TV and mobile devices - it didn't
thats because you need to tell DHCP to use the pihole's address as primary DNS
Re:Setting Up an Ad-Blocking VPN with WireGuard and Pihole
by iDemonix on Thursday April 25, 2019 @01:21PM
(#19750342)
I did. I should point out I work for an ISP, so my day job is managing proxy farms, DNS, and so on. It just didn't seem to stop ads on the Smart TV with any variation of whitelist/blacklist.
Re:Setting Up an Ad-Blocking VPN with WireGuard and Pihole
by Nas808 on Thursday April 25, 2019 @02:27PM
(#19751104)
Even if you do that, there’s some devices (Chromecast, Google Home) that have Google’s DNS hardcoded and ignores the servers passed by DHCP.
Re:Setting Up an Ad-Blocking VPN with WireGuard and Pihole
by sgroppino on Thursday April 25, 2019 @03:45PM
(#19751802)
What happens if you set your firewall to block 8.8.8.8 and 8.8.4.4?
Re:Setting Up an Ad-Blocking VPN with WireGuard and Pihole
by amaccuish on Thursday April 25, 2019 @06:29PM
(#19753087)
You can use an iptables rule on your router to rewrite the address to your custom server, which I have done specifically because Google devices were ignoring DHCP.
Something like...
iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to x.x.x.x:53
...should work, and repeat for tcp
Re:Setting Up an Ad-Blocking VPN with WireGuard and Pihole
by SamuelAdams on Thursday April 25, 2019 @04:13PM
(#19752068)
It bricks the device. See these previous discussions.
[1]: https://mailarchive.ietf.org/arch/msg/dnsop/WCVv57IizUSjNb2R...
Re:Setting Up an Ad-Blocking VPN with WireGuard and Pihole
by sgroppino on Thursday April 25, 2019 @03:42PM
(#19751770)
This is terrible. What prevents them from doing the same to android phones and tablets?
Re:Setting Up an Ad-Blocking VPN with WireGuard and Pihole
by winkywooster on Thursday April 25, 2019 @01:37PM
(#19750544)
That still doesn't fix the ad situation. There's still stuff that goes on at the JS level that a browser ad blocker catches, but a DNS blocker won't. That's been my experience after installing Pihole on the home network.
Re:Setting Up an Ad-Blocking VPN with WireGuard and Pihole
by Mister_Snuggles on Thursday April 25, 2019 @05:43PM
(#19752785)
I wish PiHole could be more fine-grained. Being able to respond differently depending on which device made the request would be an amazing addition.
For example, I want to blackhole all X-related stuff because I don't use service X and don't want them to track me, but my girlfriend wants to access and use service X. So either we each get an instance of PiHole and tailor it to our specific needs, or we share an instance and one of us is unhappy.
Re:Setting Up an Ad-Blocking VPN with WireGuard and Pihole
by sumanthn on Thursday April 25, 2019 @02:21PM
(#19751048)
Try adguard DNS, it's pretty good
Re:Setting Up an Ad-Blocking VPN with WireGuard and Pihole
by pimeys on Thursday April 25, 2019 @01:36PM
(#19750535)
For me it blocks most of the time. Sometimes I notice the advertisement coming directly from Youtube servers and passing through. This only seems to happen when using native YouTube clients...
Re:Setting Up an Ad-Blocking VPN with WireGuard and Pihole
by Zhenya on Thursday April 25, 2019 @02:55PM
(#19751368)
Try opening a few local app on Android and watch the logs.
You'll see connections to Facebook, Google and ad networks.
Pihole and diversion are essential for privacy.
My Android TV when in sleep mode DRILLS Netflix and calls home.
I need UBlock Origin as a remote proxy.