Block ads at your router – ADBlock and Tomato Firmware


TCAT Shelbyville - Technical Blog

Want to block ads on your computer regardless of the browser you use?  How about ads and phones?  Here’s one way if you have a Tomato firmware based router

Open up your router’s webpage -Go to Administration -Click on the tab WAN Up –

(Be prepared to visit the webpage at the bottom of this post – make sure the formatting of quotes and the script is correct before continuing.  Important – also be prepared to reset your router if this does not work.)

WanUp

Enter the following text –

## ALL-U-NEED Ad Blocking v3.9e
## http://goo.gl/mhykQ
## Original script by YAQUI
## Updated by ~nephelim~, Syl, jochen, groosh, ng12345, ray123, mstombs
## base64 decoder by Danny Chouinard’s

sleep 10

ADB=”/tmp/ADBLOCK.sh”
{
cat <<‘ENDF’ >$ADB
#!/bin/sh

OPTIMISE=”Y”
GETS=”1 2 3 4″
TRIM_BEGIN=3
S1=”http://pgl.yoyo.org/as/serverlist.php?hostformat=nohtml” #44K
S2=”http://mirror1.malwaredomains.com/files/justdomains” #189K
S3=”http://www.malwaredomainlist.com/hostslist/hosts.txt” #97K
S4=”http://winhelp2002.mvps.org/hosts.txt” #620K
S5=”http://hosts-file.net/hphosts-partial.asp” #460K
S6=”http://hostsfile.mine.nu/Hosts” #2641K
S7=”http://support.it-mate.co.uk/downloads/hosts.txt” #3851K

USEWHITELIST=”Y” # N/Y/R for…

View original post 236 more words

Thank for your comments

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s