discussions icon indicating copy to clipboard operation
discussions copied to clipboard

blacklist / ad blocking support

Open Landsil opened this issue 6 years ago • 4 comments

Hi, with this setup on GCP I've replaced my phone VPN I had before, works great. I also use NetGuard that functions as VPN to block ads, spam, malware sites

Would be good to have option to blacklist IP / domains within VM for those of us using it on phones. I know I can set custom DNS that will block adds but I prefer to use Cloudflare/google 1.1.1.1 / 8.8.8.8. Eg. list of hosts to be blocked https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

Landsil avatar Jan 14 '19 15:01 Landsil

Have you looked into using something like PiHole? I have it installed on the Streisand server and this will block ads and malicious domains. You can set your upstream as Cloudflare or Google and setup specific block lists.

Frichetten avatar Jan 15 '19 14:01 Frichetten

Consider looking at https://github.com/time4tea-net/py-hole.

nopdotcom avatar Jan 15 '19 14:01 nopdotcom

I was aware of it but not that I can just dump it into anything. (normally for raspberry PI) Thank you. I will have a look and try to provide some notes for next person.

Landsil avatar Jan 15 '19 15:01 Landsil

OK. We do have our own dnsmasq running, so you may be able to just modify our existing dnsmasq conf to read the exclusion files py-hole downloads.

nopdotcom avatar Jan 15 '19 17:01 nopdotcom