Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Frequency in seconds to refresh web page
- web_refreshtime=60
- # Number of lines to show in web reports
- web_reportlines=200
- # Add Adblock link to Tomato GUI (1=add)
- tomatolink=1
- # enable logging - a value of "1" will add "log-queries" to $CONF
- # and restart dnsmasq if necessary
- #
- # has no effect if logging is already enabled in dnsmasq.conf
- dnsmasq_logqueries="1"
- # !**** CAUTION ****!
- # dnsmasq_custom - use at your own risk
- #
- # value will be appended to $CONF as entered
- #
- # example:
- # dnsmasq_custom='
- # log-facility=/tmp/mylogfile
- # log-dhcp
- # log-queries
- # local-ttl=600
- # '
- #
- # !! do not use unless you know what you are doing !!
- #
- # dnsmasq is very sensitive and will not start with invalid entries, entries
- # that conflict with directives in the primary config, and some duplicated
- # entries
- #
- # no validation of the content is performed by adblock
- #
- # !**** CAUTION ****!
- dnsmasq_custom="log-facility=/var/log/dnsmasq.log"
- # additional options for wget
- wget_opts=""
- # list mode, see changelog
- LISTMODE="OPTIMIZE"
- # Where to setup pixelserv, default to using primary lan interface
- BRIDGE="$(nvram get lan_ifname)"
- # default to strict firewall rules, see changelog
- FWRULES=STRICT
- # default interface(s) for firewall rules, see changelog
- # supports multiple interfaces as well, ie: "br0 br1 br3"
- FWBRIDGE="br+ lo"
- # 0: disable pixelserv, 1-254: last octet of IP to run pixelserv on
- PIXEL_IP=254
- # additional options for pixelserv
- PIXEL_OPTS="-c 80"
- # 1: keep blocklist in RAM (e.g. for small JFFS)
- RAMLIST=0
- ##
- # The only required line in the config file
- SOURCES=""
- ## Remove comments from below lists to enable them
- ## Sources (uncomment desired blocklists) [must be compatible to the hosts file format!]
- ## MVPS HOSTS (~600k) [default]:
- SOURCES="$SOURCES http://winhelp2002.mvps.org/hosts.txt"
- ## pgl.yoyo.org (~70k) [default]:
- SOURCES="$SOURCES http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext"
- ## AdAway mobile ads (~20k):
- #SOURCES="$SOURCES http://adaway.org/hosts.txt"
- ## hpHosts ad/tracking servers (~400k):
- SOURCES="$SOURCES http://hosts-file.net/ad_servers.txt "
- ## The Cameleon Project (~600k):
- #SOURCES="$SOURCES http://sysctl.org/cameleon/hosts"
- ## hpHosts ad/tracking/malicious servers (~6M! replaces hpHosts ad/tracking list):
- #SOURCES="$SOURCES http://hosts-file.net/download/hosts.txt http://hosts-file.net/hphosts-partial.txt"
- ## MalwareDomainList.com (~40k):
- SOURCES="$SOURCES http://www.malwaredomainlist.com/hostslist/hosts.txt "
- ## Hosts File Project (~3M!) beware this list:
- SOURCES="$SOURCES http://hostsfile.mine.nu/Hosts"
- ## Blacklist additional sites
- ## (add hostnames inside the quotes, space-separated, without http://)
- BLACKLIST=""
- ## Whitelist sites from blocking
- ## (add hostnames inside the quotes, space-separated, without http://)"
- WHITELIST=""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement