Little Tip for people with Asus routers :) Block Adds completely from internal router level.

Soldato
Joined
26 Jan 2004
Posts
6,293
Location
Scotland
This is a great little script that someone made for Asus routers and a few others.

Example i currently use Asus RT_AC88U and it has router level VPN options aswell as being able to block adds from a router level so that anything you browse has no adds
also has blacklist and whitelist function so that you can ignore your favourite websites if you want to view there adds.....

------------------------------------------

---------------------------------------------------------------------
A B - S O L U T I O N A D B L O C K I N G A N D L O G G I N G
---------------------------------------------------------------------
____ _____ _ _ _
/\ | _ \ / ____| | | | | (_)
/ \ | |_) |____| (___ ___ | |_ _| |_ _ ___ _ __
/ /\ \ | _ < ____ \___ \ / _ \| | | | | __| |/ _ \| '_ \
/ ____ \| |_) | ____) | (_) | | |_| | |_| | (_) | | | |
/_/ \_\____/ |_____/ \___/|_|\__,_|\__|_|\___/|_| |_|

---------------------------------------------------------------------
Latest version: AB-Solution 1.07 by thelonelycoder

---

Latest version 1.08b1
http://www.ab-solution.info

--
What AB-Solution can do

Blocking Ads on router level, blocks Ads on all devices in your LAN
Four amalgamated hosts file types to choose from, change type in seconds
Automatically updates the amalgamated hosts file weekly
Toggle Ad-blocking on or off in seconds
Supports a whitelist for domains you don't want blocked
Supports a blacklist for additional domains to be blocked
that are not covered by the hosts file
Toggle Dnsmasq logging on or off in seconds
Follow the logfile with three options:
Unfiltered log, shows all DNS queries
Filtered by blocked domains, shows only blocked domains
Filtered by term you enter, shows only entered term
Uninstall function

-

Requirements

A supported router running Asuswrt-Merlin firmware
jffs partition enabled
A permanently plugged in USB flash drive on the router,
formatted with ext2, ext3 or ext4 file system
SSH enabled on the router
SSH client to access router, use same credentials as the Web-UI
Very basic understanding of terminal commands
Some time and a Coffee, or two. Maybe

-

Supported router models

All Wireless Routers that support RMerlin's Asuswrt-Merlin and it's forks:

Asus RT-N66U
Asus RT-AC66U
Asus RT-AC56U
Asus RT-AC68U/RT-AC68P
Asus RT-AC87U
Asus RT-AC88U
Asus RT-AC3100
Asus RT-AC3200
Asus RT-N16 (no longer supported by RMerlin)

All Wireless Routers that support Xwrt-Vortex:

Netgear R7000
Linksys EA6900
Huawei WS880
There may be more router models that can run AB-Solution.

-

Hosts files used by AB-Solution

AB-Solution lets you choose from one of four hosts file types to use.
The type can be changed anytime, it only takes seconds.

The files are downloaded by the router once a week, triggered by cron.
They are then stripped to the bare minimum, duplicates removed,
sorted and combined to one file.

The following hosts files are used:

hosts file type | hosts file

1·2·3·4
1·2·3·4
1·2·3·4
2·3·4
3
3
3
3
3
4
4
winhelp2002.mvps.org/hosts.txt
someonewhocares.org/hosts/zero/hosts
pgl.yoyo.org/adservers/
malwaredomainlist.com/hostslist/hosts.txt
adaway.org/hosts.txt
hosts-file.net/emd.txt
hosts-file.net/ad_servers.txt
hosts-file.net/grm.txt
hosts-file.net/mmt.txt
support.it-mate.co.uk/downloads/hosts.txt
hosts-file.net/hphosts-partial.txt


--------------------------------------------------


It really is a great little script.. no more using add block plus... do it at router level that way you never need to install anything it just works :)

loving my 88u :D
 
Just set this up on my 68u with the host file "shooter40sw" working great so far.

Is there anyway of changing the DNS? or do you need to use the DNS set by AB-Solution?
 
Just set this up on my 68u with the host file "shooter40sw" working great so far.

Is there anyway of changing the DNS? or do you need to use the DNS set by AB-Solution?

Yes...

I personally use googles DNS... but to enable it you have to set LAN/DHCP SERVER to auto or blank then you have to go to WAN/Connect to DNS Server automatically select NO then put in your own DNS :)

DNS 1 : 8.8.8.8
DNS 2 : 8.8.4.4

then apply and done :D

the catch is you can only get your own DNS on WAN side only
you cant use LAN side or it wont work.
 
Been using it for 3 months and it works great except that it creates problems with smart tvs accessing youtube and doesn't 100% block ads on mobile devices.

I wonder if Pi Hole is better, anyone use it?

https://youtu.be/TzFLJqUeirA

I run pi-hole at home, and have contributed £££ towards it's development.

It works, but some services do mean you have to edit the white lists / black lists which is now is very easy via the web /admin interface. There's scripts run via chron that you can also tweak but the /admin has done so far everything I need. The internet is a lot faster blocking adverts
 
I run pi-hole at home, and have contributed £££ towards it's development.

It works, but some services do mean you have to edit the white lists / black lists which is now is very easy via the web /admin interface. There's scripts run via chron that you can also tweak but the /admin has done so far everything I need. The internet is a lot faster blocking adverts

Nice. Does it block adds from appearing at the start of youtube videos on desktop and mobile clients? Do you have any problems watching youtube videos on TV?

Will it work with any Raspberry Pi or is there a particular one it will work better with?

Ta
 
Back
Top Bottom