Simple Squidguard question - Google Ads - Can't believe I can't find this
-
Looked all over the Internet for this and still can't find it…ugh.
Does anybody know how to accurately block Google ads via Squidguard? Step by Step please.
I've tried a few ways and can't seem to make this work.
Thanks beforehand.....
-
You should be able to create a Target Category and then populate it with whatever domains you want. I assume you've had no luck with the Shallalist or other blacklists?
-
@KOM:
You should be able to create a Target Category and then populate it with whatever domains you want. I assume you've had no luck with the Shallalist or other blacklists?
Yea, Shallalist doesn't affect Google ads for some reason. I'll give the Target Category a try as well. Good looking out. If anybody else has any ideas feel free…...
-
I don't use Squidguard for blocking GoogleAds.
Instead, use the DNS resolver and ad domain (not host) overide, use ip 0.0.0.0.
On my side all GoogleAds have been totally blocked, even for https.Cheers.
-
I don't use Squidguard for blocking GoogleAds.
Instead, use the DNS resolver and ad domain (not host) overide, use ip 0.0.0.0.
On my side all GoogleAds have been totally blocked, even for https.Cheers.
What domain are you blocking exactly? Googlesyndication?
-
For google I have set these two entries:
googlesyndication.com 0.0.0.0 Block Advertising
googletagservices.com 0.0.0.0 Block AdvertisingThis also takes care of any subdomain like "pagead.googlesyndication.com" for example.
I found in another topic that people advised to use "host" entries, this however was not working for me.Important, you have to set pfsense dns server to 127.0.0.1 and clients have to use pfsense exclusively as a dns server.
To achieve this, I've made a firewall rule to block all other dns servers (port 53) and only allow the pfsense box as a dns server for clients.
This works wonders, I absolutely hate ads.Cheers.