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.
thats because you need to tell DHCP to use the pihole's address as primary DNS