DD WRT & Adblocking

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
mpaczynski
DD-WRT Novice


Joined: 16 Apr 2022
Posts: 9

PostPosted: Tue Apr 19, 2022 9:18    Post subject: DD WRT & Adblocking Reply with quote
Hi

I Would like to utilize my newly flashed Asus router to block adds ( comercials ).

What is the best way to do it, based on internet search:
- use router settings ?
- use RaspberryPi as local DNS?

If best way is to do it on DD WRT router, then please provide steps - I have seen different articles & FAQ's at the end I got confused which one to follow.

---------------------------------------------
My router details:
Firmware: DD-WRT v3.0-r44715 std (11/03/20)
ASUS RT-AC87U
---------------------------------------------

Thanks.
/Michal
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12836
Location: Netherlands

PostPosted: Tue Apr 19, 2022 11:58    Post subject: Reply with quote
First of all you are running an old and outdated build.

I would recommend to upgrade to a recent build (current build is 48646) and after upgrade reset to defaults and put settings in manually (never restore from a backup to a different build)

See the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

Ad blocking is mostly done with DNS either by using a DNS provider which does the work for you (AdGuard, NextDNS) or downloading large (host) lists which will block domains.
This is done with scripts which download the block list and will setup DNSMasq for you.

There are several flying around see:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=307533

https://github.com/AnielShri/ddwrt-adblocker

But I am sure others will chime in with their favourite ad-blocking solution Smile

Alternatively you can also do it with iptables (ipset).

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087


Last edited by egc on Tue Apr 19, 2022 12:55; edited 1 time in total
mpaczynski
DD-WRT Novice


Joined: 16 Apr 2022
Posts: 9

PostPosted: Tue Apr 19, 2022 12:51    Post subject: Router flas to never version Reply with quote
Hi

Thanks for replaying. Seems I took version from "Downloads", which I should not.

Since I am new to DD WRT and not all is "easy" Smile can you please confirm, that the newest version I should use for my ASUS RT-AC87U is as attached ?

Thanks.

/Michal
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12836
Location: Netherlands

PostPosted: Tue Apr 19, 2022 12:54    Post subject: Reply with quote
Yes that is correct, build 48646 is the latest and greatest Smile
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum