All guides

Family-Safe WiFi: Filtering Unsuitable Websites at the Router

Make your home WiFi family-safe by filtering unsuitable websites at the router with a family DNS resolver and your own blocklist. Clear steps and honest limits.

Most families end up with more screens than they can keep track of: phones, tablets, a console, a TV, a school laptop. Setting up a filter on each one is tiring, and some of them have no such setting at all. Filtering at the router is a calmer starting point, because it covers everything on your WiFi in one go. This guide shows how to do it with Telepi, a do-it-yourself portable router built on a Raspberry Pi 5.

Why filter at the router

Before a device can open a website it asks a DNS server where that site lives. If the router answers those questions, it can decline to answer for sites you do not want at home.

  • It works for every device on your WiFi, including TVs and consoles.
  • There is nothing to install on any device.
  • You manage it in one place.

It will not be perfect, and the limits are listed further down so you know what to expect.

The two tools in Telepi

Telepi has a built-in DNS server with filtering. Two parts of it matter here, and they work well together.

Tool Where What it does
Family-safe upstream resolver DNS Server → Upstream tab Hands the broad job to a public resolver that already declines to answer for unsuitable sites.
Your own blocklist DNS Server → Blocklist tab Blocks specific domains you choose, one per line.

Telepi does not have a built-in content category switch. The resolver does the broad filtering, and your blocklist handles the particular sites that matter in your home.

Step 1: choose a family-safe resolver

These are public, well-known resolvers you can use as upstream DNS:

Resolver Addresses What it blocks
Cloudflare for Families 1.1.1.3 and 1.0.0.3 Malware and adult content
Cloudflare for Families (malware only) 1.1.1.2 and 1.0.0.2 Malware only
CleanBrowsing Family Filter 185.228.168.168 and 185.228.169.168 CleanBrowsing's family filter list

To set one:

  1. Connect to your Telepi WiFi and open http://192.168.111.200:8080 (http, not https). Sign in with admin and your web password. The default is telepi.com, and it is worth changing on the Setting page so that only the adults can alter the filter.
  2. Open DNS Server and go to the Upstream tab.
  3. Set the upstream DNS servers to both addresses of the resolver you picked.

Use only family-safe addresses here. If an ordinary resolver is left in the list next to them, some lookups may be answered without filtering.

The Upstream tab of the DNS Server page in Telepi

Step 2: add your own blocklist

A resolver's idea of unsuitable may not match yours. Perhaps there is a particular game site, video site or forum you would rather keep out of the house for now.

  1. Open DNS Server and go to the Blocklist tab.
  2. Add the domains you want blocked, one per line, for example example.com.

On the Settings tab you can also turn on Block Ads & Trackers, which blocks ads, trackers and malicious domains. It is optional here; the ad blocking guide covers it.

Step 3: turn on Force DNS Redirection

Without this step, changing the DNS server in a device's network settings to something like 8.8.8.8 would walk around the filter.

On the Settings tab, switch on Force DNS Redirection. All DNS queries from devices on your network are then redirected to the router, even if a device is set to use another DNS server.

Step 4: check it, and fix mistakes

Try a site you have blocked from a phone or tablet on the Telepi WiFi. It should fail to load. If it still opens, the device may be remembering an earlier answer; turn its WiFi off and on, or wait a few minutes and try again.

Then open the Logs tab. It shows recent DNS queries and whether each was allowed or blocked.

The Logs tab showing recent DNS queries in Telepi

The log is useful in two ways:

  • Spotting what to add. If a domain you would rather not see keeps appearing, add it to the Blocklist tab.
  • Finding false alarms. If a homework site or an app stops working, look for a blocked entry at the time it failed, and add that domain to the Allowlist tab. Allowlisted domains always resolve.

A note on trust: the log shows what the household's devices look up. It is worth telling older children that the filter and the log exist, and why. Filters that are explained tend to cause fewer arguments than filters that are discovered.

What this won't do

  • No schedules and no per-device rules. The filter is the same for every device at all hours. Telepi has no time limits and no way to set a stricter rule for one child's tablet than for your own laptop.
  • DNS-over-HTTPS in a browser bypasses it. Some browsers can send DNS lookups over an encrypted connection of their own, often called "secure DNS". Force DNS Redirection does not stop that.
  • A VPN app on the device bypasses it. Traffic inside the VPN never asks your router.
  • Mobile data bypasses it. The moment a phone leaves your WiFi, your router is no longer involved. The same goes for a friend's house or a neighbour's WiFi.
  • It filters by site, not by page. A large site is either reachable or not. DNS filtering cannot hide individual videos, posts or search results within a site that is allowed.
  • No list is complete. New sites appear all the time, and any resolver or blocklist will miss some.

For these reasons, treat the router filter as one layer. The parental controls built into phones, tablets and consoles handle things a router cannot, such as screen time and app limits. And none of it replaces talking with your kids about what they might come across online and what to do when they do. A filter mostly prevents accidents; conversations help with everything else.

Next steps