discussions icon indicating copy to clipboard operation
discussions copied to clipboard

Integrate Pi-Hole?

Open ronnicek opened this issue 7 years ago • 6 comments

It would be great if Streisand can integrate https://pi-hole.net and block all ads on internet :)

ronnicek avatar Aug 27 '17 06:08 ronnicek

To be honest, my first reaction was "why add censorship to a censorship-resistant system?" But I was talked out of it. :-)

I think we would need our own recursive resolver for that. But some form of blocking may be useful for people on miserable connections, especially on mobile. Thank you for the idea (personally, I hadn't thought of it).

nopdotcom avatar Sep 21 '17 17:09 nopdotcom

I actually was thinking more like "block ads which tracking you everywhere :-/ or using 80% of your screen".

Btw. they made wiki about how to integrate it with OpenVPN, so I will most probably check it during the christmas and try to implement it for Pihole.. (https://github.com/pi-hole/pi-hole/wiki/Pi-hole---OpenVPN-server)

ronnicek avatar Dec 07 '17 12:12 ronnicek

@ronnicek Did you get a chance to try and integrate Pi Hole into your Streisand instance? I did it manually over the weekend and it's worked out great. Less ads, pages load a smidge quicker, I can see blocked trackers, it's great :)

I haven't put much thought into it, but I'd imagine the tricky part would be making sure each of the different VPN variants point to the local Pi Hole instance for DNS.

Frichetten avatar Jan 24 '18 03:01 Frichetten

@Frichetten not yet, but I was thinking whole christmas what I promise :D So finally I know what and where I promise :) Also great to hear, it's working well, then I can try it on weekend, hopefully, but have some other project to finish, so lets see if I will find time for this. But adding to ToDo so don't forget about it again.

ronnicek avatar Jan 26 '18 09:01 ronnicek

The current version of pi-hole has an integrated recursive resolver called FTL based on dnsmasq.

https://docs.pi-hole.net/ftldns/

PS: Block ads is one thing, but reducing the data leakage and footprint via DNS probably matters more to the people who need Streisand.

Also, there is up-to-date instructions on Digital Ocean re integrating pi-hole and OpenVPN.

https://www.digitalocean.com/community/tutorials/how-to-block-advertisements-at-the-dns-level-using-pi-hole-and-openvpn-on-ubuntu-16-04

fishzle avatar Oct 02 '18 04:10 fishzle

That's fair. It may be worth investing some effort on explaining DNS leakage in Streisand. Right now its mostly a short paragraph after the user has setup the VPN.

Frichetten avatar Oct 02 '18 12:10 Frichetten