What is the best practice for adblocking?


#1

Hello,

My Nethserver installation is running well.
But I want now to adblock all ads for all my network.

I remenber make such system with my Raspberry with dnsmasq and pixelserv.
I remenber reading about adblocking with iptables
I know that the proxy can do that…

But finally, what is the best pratice for adblocking?
Is one method is convenient or combining two or three methods is even better?

How can we make a good adblocker module for Nethserver?


(Filippo Carletti) #2

Out of the box, there’s the “advertisement” category in the web filter.
Combining approaches may lead to better results.


(Artem Fedai) #3

I suppose that dnsmasq blocked hosts it is better then enable proxy and content filter :slight_smile:


(Filippo Carletti) #4

Faster and lighter.
I found this:

Feature at the bottom of my long todo list. :frowning:
Any brave soul tackling the challenge?


#5

This link is awesome, i’ve already read it in the past…
And I’m asking myself: is the Netserver gui could “serve” the 1*1 pixel gif?

There another dnsmasq method without pixelserv:
http://www.bciuca.com/2014/02/05/edgerouter-ad-block/


(Artem Fedai) #6

it would be great to make Dot in dns section to enable AdBlock


(Filippo Carletti) #7

I think it could, because we do it for web filter block page.


#8

Strangely I didn`t see this option at first look !!!

What is the origin of this blocking ads category?
Is it pgl.yoyo.org?

Edit: I 've got the answer
http://docs.nethserver.org/projects/nethserver-devel/en/latest/content_filter.html


(Alessio Fattorini) #9

@jim do you wanna try? :smile: