Posted: Tue Jun 28, 2016 14:28 Post subject: Changing Ad Block Source
Sorry if this has already been answered or is posted on the wrong forum.
Hello everyone, I just spend the whole last night reading about dd-wrt and how to enable network wide adblocks. I am following the instructions here https://www.dd-wrt.com/wiki/index.php/Ad_blocking , and using method 1:
However, I do not like the filter that is being used, as I found many ads leaking through. I would prefer to use this ( https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts ) instead. but I think wget is being used and it must be a downloadable text file?
I will also add that my adblock is working (with the original host file, it's just too many ads leak through). So if I understand correctly, I just need to figure out the syntex to convert the host file I want to a txt file so wget can pull it.
I tried to add .txt at the end of the new link, but obviously that did not work. Can anyone help me? Thanks in advance.
Last edited by kennethhsu on Tue Jun 28, 2016 15:49; edited 1 time in total
so I really think the problem is the httpS... not really sure how to get by that, it works fine on my command line, but when I put it in the router, it won't work
Maybe this will be of some help, but on that guys github comments here https://github.com/StevenBlack/hosts/issues/47 at the bottom someone called stordoff said that it works great on their ddwrt router and he even gives the code he uses:
An easy way to test is to use a browser on a phone to visit one of the blocked addresses. I don't disable the adblockers on my desktop clients.
I suspect that modern routers have powerful CPU's (over 1GHz) that can handle VPN connections at high speeds, so DNS lookups in a host file can't be taxing.
For the love of all that is holy, I cannot get this to work.
With reference to the tutorial here https://www.dd-wrt.com/wiki/index.php/Ad_blocking, where am I substituting this new code in the startup script? Or is it complete replacement code? What should my startup script look like using the above? Are there any modifications I need to make to the Firewall script?