Skip to main content

Protecting your kids (and you) from ads, phishing, spam, malware, mature / adult content, and other sites on Android (5+) smartphones with dns66 and OpenVPN Family shield for FREE

While it's easy to control access to certain websites on your home Wifi network, doing so on a mobile broadband network for mobile phones is much more difficult.

There are apps to monitor block website access to harmful websites (NetSanity, and others) and most I've seen charge you a monthly rate to do so.  Keep reading to see how to block ads, adult content, and other harmful websites using free and open technologies.

Lets get started

1. Download and install F-Droid  (can be removed later if not wanted)

2. Next download dns66.

3. Open F-Droid and search for "dns66".

(If no results are found, hit the menu button and click "Update Repos")


5. Click install, then Run.

6. Next we have to setup OpenVPN's family shield filter

7. Go through the intro and select the "DNS Servers tab"

8. Select enable custom DNS servers. Swipe to remove all existing servers as we only want to use OpenDNS's servers (you can leave the blocked servers if you want).

9. Now, add a new server with the following


10. And a second. 

Note: These servers are coming from here: . There's several other options they provide as well. Feel free to use those.

11. It should now look like this

12. Finally, click the Start/Stop tab.

13. From the menu uncheck the "Show notification" (if desired).
14. Now touch and hold on the Screen to turn it on and click Ok to the request.

Testing it out

1. Disable wifi (if it was on), open the browser and go to


2. Find the link that says "click here to test your settings" and click it to test the configuration

 3. Real life example... now if you go to a bad website (such as the OpenDNS test site you'll see this

 Showing the domain was blocked! And a headache saved!

 How it works

The app creates a VPN server then tells android to connect to it's own server (code is open source so feel free to dig through it yourself to verify).  The VPN changes the default DNS settings (ie your service providers DNS) with the ones configured.  OpenDNS's servers then block requests to sites that are undesired.

Some side notes here

  • There are ways to get around DNS blocking if you understand how DNS works (look on wikipedia), I will not say how here.  This method will NOT protect from those cases. However I've found this to work very well!
  • Also, you may have to disable this when accessing your home network on Wifi (or add your router's dns to the list).

It is also suggested to follow the tutorials for setting it up on your wifi / home network router as well.

I hope you find this as helpful as I did!


Popular posts from this blog

Kivy vs React-Native for building cross platform mobile apps

I've built three apps now using Kivy and one with React-Native, just wanted to share my thoughts on both. Just a warning, I am strongly biased towards python and this is all based on opinion and experience and is thus worth what you pay for it. I don't claim to be an expert in either of these, just have worked with each for several months.  If something is incorrect I'd love to hear advice. Kivy Demo of one of the apps Pros: Nice to be able to run natively on the desktop WITHOUT a simulator Python is easy to work with Use (almost) any python library Very easy to create custom widgets Kivy properties and data binding just work. Way nicer than React's "state" / flux / redux whatever you want to call it (stupid?).  Native interfaces (pyjnius) and (pyobjc) Runs and feels pretty smooth Cons: Default widget toolkit looks like Android 4.4. Requiring you use your own widgets or a theming kit like KivyMD  if styling bothers you Creating dy

Control Systems in Python - Part 1 - Bode and Step Response

I hate matlab with passion, yet sadly, nearly everyone uses it.  I'm a fan of Python and open source stuff so here's a simple article on how to do some common control systems stuff in Python. First we need to make sure the environment is setup. Install IPython (or you can use any other python shell, but a unicode supported shell is preferred) Install python-control (numpy, scipy) Install sympy These should do if your on Ubuntu/debian: sudo apt - get install python - sympy python-numpy python-scipy python-matplotlib ipython Then you need to install python control, see How to download and install python-control Intro to using Sympy Open ipython and run the following: import sympy from sympy import * sympy.init_printing() s = Symbol('s') Now we can do things like define transfer functions using the symbolic variable s. We can expand the bottom using the .simplify() method and we can do something more complex like... which is really nice because it

A look at Chaquopy the Python SDK for Android

I recently heard about chaquopy - A "Python SDK for Android" and was really excited. There's already a demo app on the Play store for python 2 and python 3. As the author of enaml-native , I had to take a look to see how others are trying to tackle the python on android challenge.  So here's a short review and discussion of my initial thoughts on chaquopy. Demo I encourage you to try out the demo yourself to get a feel for it, but here's a short demo of what it does. Initial thoughts. It starts reasonably fast (about 3-4 seconds on my phone).  There's a noticeable delay when starting the python activity on my phone (much smoother on the emulator), but other than that the widgets look great and interaction is smooth! The apk is 11.54 MB and the app is only 18 MB installed (21MB if you include the cache), which is very good for bundling python! Also, the build process was a piece of cake!  I cloned the repo, opened in android studio, pressed play,