Tuesday, April 23, 2019

block ads at router level

    Hello. After i put online my dns blackhole i have 2 more things to do. 1. Set up a https local proxy for my dns for using dns over https and 2. try to find if is possible to set up a basic adblock at router level.

    It turned up that task nr. 2 is very easy. All you have to do is accessing your router interface (mine is tp-link) and use parental control or access control menu. I used Access Control menu. You have to enable Internet Access Control first. Default filter policy must be "disable the packets.....". Then you use Add New button to add a new rule. For every rule there will be 4 hosts you can block - at least with my router make. For every rule you can add up to 4 host to block and, guess what, those 4 host will be sites and domains that serves adds. After you name the rule and added hosts to block you must use Save button. I didn't tested how many rules i can have, all i have needed was to test if i can do that.

    It's up to you to create how many rules you want and add hosts for every rule.
Search for most major domains that serves adds and block those dommains.

    The main advantages using this method is that is working with every device connected to that specific router and you get rid of tracking cookies served by blocked domains.

 The main cons with this method is that you cannot set too many rules because a router has a limited memory capacity.

   If you want more rules or blocked domains appart for what Access Control can offer, you can use Parental control menu in router interface.

  So far, most reliable and simple method for blocking ads is to use an addon like "NoScript" in combination with ublock or other ads blocker. NoScript addon is a must for efficient ads block.

No comments:

Post a Comment