用路由器拦截广告技巧

 时间:2024-11-05 03:17:09

1、进入 DD-WRT 网页管理界面,Services(服务) -> Services(服务),DNSMasq 和 Local DNS(本地 DNS) 均设置成 Enable (启用)。滚到页面底部保存。

用路由器拦截广告技巧

2、进入 DD-WRT 网页管理界面,Administration -> Commands,贴入如下脚本后,Save Startup:#!/bin/shlogger WAN up script executingif test -s /tmp/dnsmasq.adsthenrm /tmp/dnsmasq.adsfi logger Downloading China Lazy Listwget -O - http://adblock-chinalist.googlecode.com/svn/trunk/adblock-lazy.txt |grep ^\|\|[^\*]*\^$ |sed -e 's:||:address\=\/:' -e 's:\^:/127\.0\.0\.1:' > /tmp/dnsmasq.adsgrep conf-file /tmp/dnsmasq.conf ||echo -e "\nconf-file=/tmp/dnsmasq.ads" >> /tmp/dnsmasq.conflogger Restarting dnsmasqkillall dnsmasqdnsmasq --conf-file=/tmp/dnsmasq.conf

用路由器拦截广告技巧
  • 眼皮跳 眼皮一直跳是怎么回事
  • Win10中如何添加WSUS工具
  • 磁盘修复命令chkdsk
  • 阿尔派CDE-9801R汽车音响使用说明书:[2]
  • win11鼠标右键打不开怎么办?
  • 热门搜索
    明月山旅游攻略 土耳其旅游签证 这个季节去哪旅游最好 酷讯旅游网 湖北旅游局 四川九寨沟旅游 峨嵋山旅游 宜兰旅游攻略 三天旅游 旅游餐饮