Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Ubuntu 10.10 on an old laptop for my daughter and want to be able to restrict which web sites she can access.

I would like to have a white list of addresses she can access. Can anyone suggest the easiest way to manage this?

share|improve this question

migrated from Jan 6 '11 at 23:42

This question came from our site for system and network administrators.

This isn't really a professional IT question. I'm just sayin'. – mattdm Dec 22 '10 at 1:57

Configure your network so that the laptop can't connect directly to the internet at all.

Set up the web browser in the laptop to talk to a web proxy system you've configured.

Run privoxy on this system, configured with a whitelist.

share|improve this answer

Filtering domain names is better (and easier) than controlling IPs (and they change...).

An existing and known package for Ubuntu is DansGuardian.

It requires the installation of a small proxy: the instructions in the link should be pretty straightforward.

share|improve this answer

You can do this pretty easily through IPTables. You just need to setup some OUTPUT rules that drop all traffic except to known good IPs.

Be careful though, many big sites don't have one IP for all their web servers, so this might not work as well as you would hope.

share|improve this answer

If you do not want to install a proxy as @ring0 suggests I think you should try out OpenDNS, it is easy to setup and filter sites. It should be able to do the task. They have categories to filter sites based on content (like adult material).

share|improve this answer

For what its worth. I found an ubuntu distribution called edubuntu which is targeted towards kids. This comes installed with something called Gnome Nanny.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .