Антиреклама для MikroTik, для гостевой сети (для основной надо будет заменить ИП во всех строчках на 192.168.88.0)
Скопировать и вставить правой кнопкой мыши в терминал роутера.
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: securepubads.g.doubleclick.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: cm.g.doubleclick.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: bid.g.doubleclick.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: pubads.g.doubleclick.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: adclick.g.doubleclick.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: stats.g.doubleclick.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: googleads.g.doubleclick.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: ad.doubleclick.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: dp.g.doubleclick.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: partner.googleadservices.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host:
www.googleadservices.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: pagead2.googlesyndication.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: googlsyndication.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: *.googleads.*" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: *.g.doubleclick.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: rad.msn.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: live.rads.msn.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: g.msn.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: ads1.msn.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: static.2mdn.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: a.ads2.msads.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: b.ads2.msads.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: ac3.msn.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: msntest.serving-sys.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: bs.serving-sys.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: flex.msn.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: ua-content.adriver.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: ua.adriver.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: ad.adriver.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: content.adriver.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: mh6.adriver.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: *.adriver.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: thumbs01.begun.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: click02.begun.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: flash.begun.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host:
www.flash.begun.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host:
www.begun.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: *.begun.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: begun.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: advertising.yandex.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: an.yandex.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: yabs.yandex.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: mc.yandex.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: kiks.yandex.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: analytics.mobile.yandex.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: banners.mobile.yandex.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: direct.yandex.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: awaps.yandex.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: matchid.adfox.yandex.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: favicon.yandex.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: ad.mail.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: ad.rambler.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: ads.yahoo.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: ib.adnxs.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: ams1.ib.adnxs.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: cdn.adnxs.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: adnxs.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: photobucket.adnxs.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: *.adnxs.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: 3file.info" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: ekod.info" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: realer.info" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: rarenok.biz" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: am15.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: b.am15.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: c.am15.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: *.am15.net" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: c.luxup.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: is.luxup.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: id64908.al16.luxup.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host:
www.id64908.al16.luxup.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: id38819.al11.luxup.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host:
www.id38819.al11.luxup.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: id13222.luxup.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host:
www.id13222.luxup.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: luxup.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: *.luxup.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: ad.yieldmanager.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: naberi.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: ads.cb-cdn.com" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: cbn.tbn.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: ad.100-2.tbn.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: ad.79-2.tbn.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: ad.ent-2.tbn.ru" action=reject reject-with=tcp-reset
/ip firewall filter add chain=forward protocol=tcp src-address=192.168.0.0/24 content="Host: ad.*.tbn.ru" action=reject reject-with=tcp-reset