How can I configure a scheduled allow list on my router? [duplicate]

I have a home network using a Siemens SL2-141 ADSL router. Is there a way to tell the router to allow only specific websites, for example, to protect kids using the computers from harmful sites?

I found out that this router can be accessed via telnet, and I found commands to start/stop the ADSL connection, but, I haven't found a way to allow or block specific websites.


Solution 1:

The easiest solution would be setting the DNS server (usually found in configuration settings of the router) to the one which does the needed filtering (one of examples could be OpenDNS, http://www.opendns.com/).

You could set up a similar thing on the router itself, but it is not so straightforward. You will need to install an alternate firmware (like OpenWRT, see http://wiki.openwrt.org/toh/gigaset/sl2-141-i) and then set up DNSMasq to only resolve on specified domains.

If you have a Raspberry Pi lying around, you could try if pi-hole can be configured with an allow list, instead of a deny list.

Of course these systems can be fooled if someone sets the DNS server on the computer itself, but while you let the child act only on a limited account that should be OK.