2 Methods to Force Google Safe Search on DD-WRT All The Time for All Computers on Network

These two methods will enforce Google’s safesearch on all computers on your network (keep in mind that this won’t work for cell phones or other devices using cellular data). This is specific to any router using the DDWRT firmware. DDWRT is an open source firmware that is available to be flashed on a number of routers (check the DDWRT website for a list of compatible routers and installation details)

Method #1 – Rewrite DDWRT’s Hosts File on Startup

The simplest way to do this is to have your router edit your hosts file on each startup as follows:

  1. Go to Administration->Commands

  2. Click “Edit” and add the following script:

  3. Click “Run Commands”
  4. Click “Save Startup”
  5. Done!

What does this do ? It redirects those urls to the ip address of forcesafesearch.com. Your hosts file will be wiped out on every reboot of the router but the script will restore the settings.

While this is a very easy way of forcing safesearch, the disadvantage is that Google could change the ip address of safesearch. In addition, this method doesn’t permit wild cards.

Method #2 – Use DNSMasq

This method permits wildcards:

  1. Make sure that you have DNS masq enabled.
  2. Services->Additional DNSMasq option Box.
  3. Insert the following (Note the DOT before google.com, the dot acts as a wild card to pickup any subdomains):
  4. It should look like this:

  5. Click “Save” (button bottom of page)
  6. Click “Apply Settings”
  7. Done! If it doesn’t work right away you may need to reboot the router (use the button on the Services tab)
Please follow and like us:
error0
fb-share-icon0
Tweet 20
fb-share-icon20

Leave a Reply

Your email address will not be published. Required fields are marked *