Blocking Ads on a Vlan

I am trying to block ads on a single VLAN. Using AdBlock-Fast is working, but even if I change the DNS on the interface, the ads are being blocked.

Basically, what I am trying to do:
vlan 10 , bridge10 - adblock-fast
vlan 20 , bridge 20 - regular internet

Any help with this will be much appreciated

I can't speak for adblock-fast, but as a contributor to the adblock-lean project, I can say that you can achieve this with adblock-lean. You would need to create a separate dnsmasq instance serving the particular network interface (which I can't guide you how to do) and then it is very easy to configure adblock-lean to attach to that particular dnsmasq instance.

Interesting, maybe it's time for me to try that route. Let me read up on adblock-lean, and report back here to you. Ideally, even if is a different plug in, my plan is to achieve the result shown above.

Update, I was able to confirgure install it, using the information from:

I am wondering if there is something to make show in Luci?

I am fully configue, nice to see a complete script that just works!
From what I am understand there is an additonal configuration to be made on one of the configuration files on the etc/ folder.... Anything more that you can share will be great.
Thanks

Glad that you got it working!

I'm not sure which file you mean. If you mean the adblock-lean config file then it is located in /etc/adblock-lean/config. You don't really need to edit it, but you can change some options if you want to. Each option is documented in the config file.

As to luci, there is a separate work-in-progress luci frontend for adblock-lean here developed by @Ree9 but it's fallen a bit behind adblock-lean development, so I'm not sure if it works correctly with current adblock-lean versions. If you need to manage adblock-lean (normally there should be no need to) then probably better to do that via the command line (and/or by changing the config options in the config file) for now.

Also it's a good idea to go through the adblock-lean README - it is quite detailed and will probably answer most of your questions. If you have any other questions, feel free to ask away but please try to be specific.

I forgot to say Thank You!!
This project is amazing, it blocks ads and is not intrusive, unlike Piehole and others that to my view it requires more tweaking. I am re-reading the information in Github one more time to understand the concept, so far I see the config file in the /etc/ folder, from there it gets a bit more elaborate, will probably ping you once I get there - If any help is needed -
Once again Thank you

1 Like