Open flywire opened 5 years ago
did you tried luci-app-adblock
?
No, I've been messing with leds for far too long, I'll try the ones above. Any recommendations? Luci is nice but I'd prefer to use TG799 resources for something else. I was more thinking of the TG800.
btw Luci is not a gui option on TG800.
Then.. luci adblock for chaos calmer is really old. Recent versions include many more lists. Maybe it be possible to port some 3.x.x version of that module.
I sussed out getting automated ad-blocking working on the DJA0231 ...
Thanks for linking my post Flywire :) I had asked for the enhancement in the "issues" thread previously, but got no response, had no idea there was already a thread about this lol.
Edit: Post any other (better) block lists if you find any...
Use the "spark" list instead, too much being blocked with the "blu" list...
wget -O /etc/dnsmasq.conf.ads "https://raw.githubusercontent.com/EnergizedProtection/block/master/spark/formats/dnsmasq.conf"
Probably more than overloading the dnsmasq conf a solution like using https://adguard.com/ will just avoid having the ram full
Actually using the lighter "spark" list frees up my ram to like 110mb now.
If you want to white list any domains just add it to the regular dnsmasq.conf file in the format:
server=/www.google-analytics.com/202.142.142.142 (The DNS you want it to go through instead, this one being my internet providers DNS).
Suggested white list: https://discourse.pi-hole.net/t/commonly-whitelisted-domains/212
Edit: Ok I need to play around with this, it stuffs a few things up :(
Edit 2: Ensure there are no spaces between domains, need to be entered as separate line items, I just copied and pasted from the white list website I linked, stupid me :-/
Edit 3: https://github.com/anudeepND/whitelist this white list is better and easier to work with, I used excel to make it into the correct format and combined with a formula for exporting.
Steven blacks block list in the correct dnsmasq format. Doesn't use up much ram either...
wget -O- https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | awk '$1 == "0.0.0.0" { print "address=/"$2"/0.0.0.0/"}' > /etc/dnsmasq.conf.ads
White list excel file:
for ARM devices (italian, basically it uses adblock package): https://www.macoers.com/blog/antonio-macolino/adblock-su-dga4130-dga4131-dga4132-homeware-18-rimuovere-pubblicita
Couple of potential openwrt candidates:
Simple AdBlock
@dibdot's adblock