1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do you block ads using tomato?

Discussion in 'Tomato Firmware' started by cityismine, Apr 19, 2008.

  1. cityismine

    cityismine LI Guru Member

    I'd like to know how to block ads using my router. I have the adblock extension for firefox, but there's 2 other computer in my house which don't. If the router can block ads for me, that'll be a alot easier.

    I did find another thread on a similar topic, but it's 12 pages long, so I wasn't sure which script to use. If someone can post a simple and efficient way of doing this, that'd be great!
  2. xcooling

    xcooling LI Guru Member

  3. i1135t

    i1135t Network Guru Member

    How's about just forwarding your DNS through http://www.opendns.com

    You can filter much more than just ads... It's very useful and speedy as well...
  4. mstombs

    mstombs Network Guru Member

    I can recommend the domain blocking functionality of dnsmasq, should be much more efficient than using individual hosts see


    I don't automatically update the blocklist, but occasionally refresh it and store on /jffs with the command

    wget -O - 'http://pgl.yoyo.org/adservers/serverlist.php?hostformat=dnsmasq&showintro=0&mimetype=plaintext'|sed 's/'>/jffs/adblock.conf

Share This Page