

Its foundation has already been described above, it is still only to decorate at its discretion (requires a different team).Īnother option - is to use MetaRouter actually or about MikroTik-e, in which the same OpenWRT (eliminates the need for a different computer, this option is not painted in detail for lack of a good MikroTik and under the arms).

One of the simplest automation options - script for Bache, which supports the crown date to adblock_dns.rsc public disposition on, for example, ftp. # If you have a table there are no important routes, we can hit all the records: # Make a backup (resulting backup is best kept in your car): To import the file, they cling to the router via FTP, fill it adblock_dns.rsc, then cling to SSH or open a terminal, they perform: | sed "s/^/add address=$host name=/" > $out & rm -f $in wc -l $out #Check everything starting with '127.0.0.1', delete comments, leaving only domain names, remove duplicates, delete blank lines, and distinguish each domain as an order for the import: =plaintext' ' ') i=0 for file in $ do i=$((i+1)) wget -no-check-certificate -O "./hosts_list.$i" "$file" done # Download the lists and add them softly under the names. # The MikroTik script format, using static DNS routes:įor the current list of the first and second convert we execute simple commands in a shell on, for example, the desktop (the hit): # Internet cleans annoying ads (Mikrotik ads blocker) I think this dosent use as much cpu like when u use layer 7 protocol.

I have a bigger list but this is an example, and there is no way to autoupdate it. I think its better to use webproxy and block in access list.Īdd action=deny dst-host=*.google-analytics.* redirect-to=0.0.0.0Īdd action=deny dst-host=*. redirect-to=0.0.0.0Īdd action=deny dst-host=ads.* redirect-to=0.0.0.0Īdd action=deny dst-host=*.mobfox.* redirect-to=0.0.0.0Īdd action=deny dst-host=*.cloudfront.* redirect-to=0.0.0.0Īdd action=deny dst-host=*.doubleclick.* redirect-to=0.0.0.0Īdd action=deny dst-host=*. redirect-to=0.0.0.0Īdd action=deny dst-host=*.scorecardresearch.*Īdd action=deny dst-host=*.googlesyndication.* redirect-to=0.0.0.0Īdd action=deny dst-host=*.googletagmanager.* redirect-to=0.0.0.0Īdd action=deny dst-host=fusion.* redirect-to=0.0.0.0Īdd action=deny dst-host=*. redirect-to=0.0.0.0Īdd action=deny dst-host=*.tailsweep* redirect-to=0.0.0.0Īdd action=deny dst-host=*.googletagservices.* redirect-to=0.0.0.0Īdd action=deny dst-host=*.adnxs* redirect-to=0.0.0.0Īdd action=deny dst-host=adv.* redirect-to=0.0.0.0Īdd action=deny dst-host=*.adform* redirect-to=0.0.0.0
