DeLoNET Parental Controls & Device Access
Enforces content filtering, screen time limits, and hardware-level network blocks across the DeLorenzo homelab network (DeLoNET).
Two Enforcement Layers
Parental controls operate on two distinct layers. When a restriction fails or is bypassed, it is almost always because the enforcement was applied only at the DNS layer while the device was using a direct or unmanaged network path.
Device Request
│
├─ Layer 1: Hardware / MAC Access Control (Netgear RS700 Router)
│ └─ State = Block -> 100% packet loss at the Wi-Fi/switch layer (total internet cut)
│ └─ State = Allow -> Traffic passes to LAN / WAN
│
└─ Layer 2: DNS & Content Filtering (AdGuard Home + Tailscale MagicDNS)
├─ Tailnet query (100.x.x.x) -> Tailscale MagicDNS -> AdGuard Home (100.66.29.76:53)
└─ LAN query (192.168.1.x) -> AdGuard Home (192.168.1.12:53)
└─ Matched by Client ID (IP, MAC, hostname) -> Blocked Services & Custom User Rules
Layer 1: Netgear RS700 Router Access Control
When a device must be locked out immediately or when it bypasses local DNS (e.g. via hardcoded Google DNS 8.8.8.8), block it at the router hardware layer.
- Router: Netgear RS700 (firmware V1.0.11.8) at
192.168.1.1.
- Credentials:
op://DeLoSecrets/Wireless Router/base station password (username admin).
- Mechanism:
DeviceConfig:1 SOAP action SetBlockDeviceByMAC with NewAllowOrBlock: Block|Allow.
Quick Access Control CLI
Use ~/docker/scripts/chase-tv.sh:
# Check status:
~/docker/scripts/chase-tv.sh status
# Block the TV at the router (cuts all Wi-Fi traffic):
~/docker/scripts/chase-tv.sh block
# Restore network access:
~/docker/scripts/chase-tv.sh allow
Layer 2: AdGuard Home DNS & Service Filtering
- Container:
adguard running on big-chungus (192.168.1.12:53 / 100.66.29.76:53).
- Config & Work:
/home/delorenj/docker/stacks/utils/adguard/ (conf/AdGuardHome.yaml).
- Admin API:
http://<adguard container IP>:6767 (the web UI listens on 6767 inside the
container; the host publish 127.0.0.1:6767 maps to 3000 and resets). Get the IP with
docker inspect adguard -f '{{.NetworkSettings.Networks.proxy.IPAddress}}'.
- Auth:
delorenj / op://DeLoSecrets/aabcppkr55dukjnbg7brfbcmge/password, or admin /
op://DeLoSecrets/aabcppkr55dukjnbg7brfbcmge/admin account/password.
- A few failed logins lock the source IP out for ~15 minutes. Locked out from the host?
Run the call from a throwaway container on the
proxy network (new source IP).
set_rules reloads asynchronously: check_host right after it answers from the OLD
rules. Sleep a few seconds before verifying.
- Blocked Services: Supports granular category blocking (
youtube, roblox, tiktok, twitch, etc.).
Managing Client Bindings via API
To update or verify a client in AdGuard:
AG="http://$(docker inspect adguard -f '{{.NetworkSettings.Networks.proxy.IPAddress}}'):6767/control"
AUTH="delorenj:$(op read op://DeLoSecrets/aabcppkr55dukjnbg7brfbcmge/password)"
# Query clients:
curl -s -u "$AUTH" "$AG/clients" | jq .
# Update client:
curl -s -u "$AUTH" -X POST "$AG/clients/update" \
-H "Content-Type: application/json" \
-d '{
"name": "Chase'''s Android TV",
"data": {
"name": "Chase'''s Android TV",
"ids": ["100.82.60.86", "chase-tv", "192.168.1.29", "38:c8:04:51:08:41", "android-3"],
"tags": ["device_tv", "device_other"],
"blocked_services": ["youtube", "roblox"],
"filtering_enabled": true,
"use_global_blocked_services": false,
"use_global_settings": false
}
}'
Known Child Device Inventory
| Device |
Room / User |
Identifiers (IP / MAC / Tailscale) |
Active Restrictions |
Enforcement Method |
| Chase's TV |
Chase's Room |
192.168.1.2938:C8:04:51:08:41100.82.60.86 (chase-tv) |
YouTube, Roblox |
Router MAC block (chase-tv.sh) + AdGuard client block |
| Chase's Phone |
Chase |
100.76.87.44 (chase-phone) |
YouTube, Roblox |
AdGuard client block |
| Ava's TV |
Ava's Room |
192.168.1.42a4:ce:da:5c:ad:c8ava-tv, lgwebostv |
YouTube, Roblox |
AdGuard client block |
| Bedroom TV |
Master Bedroom |
192.168.1.26 |
Roblox |
AdGuard client block |
Critical Gotchas
The Tailscale Disconnect Trap:
Android TVs and phones can disconnect from Tailscale or have the VPN toggle switched off. When disconnected, the device uses local DHCP Wi-Fi directly. If an AdGuard rule only names the Tailscale node (100.x.x.x or hostname), all restrictions are completely bypassed. Always bind both the LAN IP and MAC address in AdGuard Home.
Hardcoded Google DNS on Smart TVs:
Android TV / Google TV devices have Google DNS (8.8.8.8, 8.8.4.4) hardcoded in Google Play Services. If local DNS blocks YouTube, the YouTube app often silently falls back to 8.8.8.8 over port 53 or uses DoT/QUIC. If DNS-level blocking fails, use the Router Hardware/MAC Block (chase-tv.sh block).
Parent Whitelists in AdGuard:
AdGuard's user_rules contains explicit bypass rules for parent devices:
pottybarron / pottybarron-s26 (Jarad's S26 Ultra)
carries-macbook-air
mommys-iphone
big-chungus (192.168.1.12, 100.66.29.76, 127.0.0.1)
Global block rules (e.g. ||youtube.com^) will block children and unmapped devices without breaking parent access as long as the @@||*^$client=... rules remain in place without being overridden by $important.
Not every user_rules entry is parental:
||*^$client=192.168.1.3,dnstype=AAAA,dnsrewrite=NOERROR (with its ! tv-vpn-gateway
comment) keeps the living-room Fire TV on IPv4 so it cannot leave around its VPN tunnel
via the router's 6to4 IPv6. It belongs to ~/docker/scripts/tv-vpn-gateway/. Keep it when
rewriting the rule list.
1---2name: delonet-parental-controls3description: Parental control enforcement, DNS filtering, and device network blocking across DeLoNET and DeLoHome. Covers AdGuard Home client binding and service blocks, Netgear RS700 router Access Control, Tailscale offline traps, and managing restrictions on kids' devices (Chase's TV, Chase's Phone, Ava's TV, Bedroom TV).4metadata:5 source: https://skillmd.com/skills/delorenj/delonet-parental-controls6---78# DeLoNET Parental Controls & Device Access910Enforces content filtering, screen time limits, and hardware-level network blocks across the DeLorenzo homelab network (`DeLoNET`).1112## Two Enforcement Layers1314Parental controls operate on two distinct layers. When a restriction fails or is bypassed, it is almost always because the enforcement was applied only at the DNS layer while the device was using a direct or unmanaged network path.1516```17Device Request18 │19 ├─ Layer 1: Hardware / MAC Access Control (Netgear RS700 Router)20 │ └─ State = Block -> 100% packet loss at the Wi-Fi/switch layer (total internet cut)21 │ └─ State = Allow -> Traffic passes to LAN / WAN22 │23 └─ Layer 2: DNS & Content Filtering (AdGuard Home + Tailscale MagicDNS)24 ├─ Tailnet query (100.x.x.x) -> Tailscale MagicDNS -> AdGuard Home (100.66.29.76:53)25 └─ LAN query (192.168.1.x) -> AdGuard Home (192.168.1.12:53)26 └─ Matched by Client ID (IP, MAC, hostname) -> Blocked Services & Custom User Rules27```2829---3031## Layer 1: Netgear RS700 Router Access Control3233When a device must be locked out immediately or when it bypasses local DNS (e.g. via hardcoded Google DNS `8.8.8.8`), block it at the router hardware layer.3435- **Router**: Netgear RS700 (firmware V1.0.11.8) at `192.168.1.1`.36- **Credentials**: `op://DeLoSecrets/Wireless Router/base station password` (username `admin`).37- **Mechanism**: `DeviceConfig:1` SOAP action `SetBlockDeviceByMAC` with `NewAllowOrBlock: Block|Allow`.3839### Quick Access Control CLI40Use [`~/docker/scripts/chase-tv.sh`](file:///home/delorenj/docker/scripts/chase-tv.sh):4142```bash43# Check status:44~/docker/scripts/chase-tv.sh status4546# Block the TV at the router (cuts all Wi-Fi traffic):47~/docker/scripts/chase-tv.sh block4849# Restore network access:50~/docker/scripts/chase-tv.sh allow51```5253---5455## Layer 2: AdGuard Home DNS & Service Filtering5657- **Container**: `adguard` running on `big-chungus` (`192.168.1.12:53` / `100.66.29.76:53`).58- **Config & Work**: `/home/delorenj/docker/stacks/utils/adguard/` (`conf/AdGuardHome.yaml`).59- **Admin API**: `http://<adguard container IP>:6767` (the web UI listens on 6767 inside the60 container; the host publish `127.0.0.1:6767` maps to 3000 and resets). Get the IP with61 `docker inspect adguard -f '{{.NetworkSettings.Networks.proxy.IPAddress}}'`.62 - Auth: `delorenj` / `op://DeLoSecrets/aabcppkr55dukjnbg7brfbcmge/password`, or `admin` /63 `op://DeLoSecrets/aabcppkr55dukjnbg7brfbcmge/admin account/password`.64 - A few failed logins lock the source IP out for ~15 minutes. Locked out from the host?65 Run the call from a throwaway container on the `proxy` network (new source IP).66 - `set_rules` reloads asynchronously: `check_host` right after it answers from the OLD67 rules. Sleep a few seconds before verifying.68- **Blocked Services**: Supports granular category blocking (`youtube`, `roblox`, `tiktok`, `twitch`, etc.).6970### Managing Client Bindings via API71To update or verify a client in AdGuard:7273```bash74AG="http://$(docker inspect adguard -f '{{.NetworkSettings.Networks.proxy.IPAddress}}'):6767/control"75AUTH="delorenj:$(op read op://DeLoSecrets/aabcppkr55dukjnbg7brfbcmge/password)"7677# Query clients:78curl -s -u "$AUTH" "$AG/clients" | jq .7980# Update client:81curl -s -u "$AUTH" -X POST "$AG/clients/update" \82 -H "Content-Type: application/json" \83 -d '{84 "name": "Chase'''s Android TV",85 "data": {86 "name": "Chase'''s Android TV",87 "ids": ["100.82.60.86", "chase-tv", "192.168.1.29", "38:c8:04:51:08:41", "android-3"],88 "tags": ["device_tv", "device_other"],89 "blocked_services": ["youtube", "roblox"],90 "filtering_enabled": true,91 "use_global_blocked_services": false,92 "use_global_settings": false93 }94 }'95```9697---9899## Known Child Device Inventory100101| Device | Room / User | Identifiers (IP / MAC / Tailscale) | Active Restrictions | Enforcement Method |102|---|---|---|---|---|103| **Chase's TV** | Chase's Room | `192.168.1.29`<br>`38:C8:04:51:08:41`<br>`100.82.60.86` (`chase-tv`) | YouTube, Roblox | Router MAC block (`chase-tv.sh`) + AdGuard client block |104| **Chase's Phone** | Chase | `100.76.87.44` (`chase-phone`) | YouTube, Roblox | AdGuard client block |105| **Ava's TV** | Ava's Room | `192.168.1.42`<br>`a4:ce:da:5c:ad:c8`<br>`ava-tv`, `lgwebostv` | YouTube, Roblox | AdGuard client block |106| **Bedroom TV** | Master Bedroom | `192.168.1.26` | Roblox | AdGuard client block |107108---109110## Critical Gotchas1111121. **The Tailscale Disconnect Trap**:113 Android TVs and phones can disconnect from Tailscale or have the VPN toggle switched off. When disconnected, the device uses local DHCP Wi-Fi directly. If an AdGuard rule only names the Tailscale node (`100.x.x.x` or hostname), all restrictions are completely bypassed. **Always bind both the LAN IP and MAC address** in AdGuard Home.1141152. **Hardcoded Google DNS on Smart TVs**:116 Android TV / Google TV devices have Google DNS (`8.8.8.8`, `8.8.4.4`) hardcoded in Google Play Services. If local DNS blocks YouTube, the YouTube app often silently falls back to 8.8.8.8 over port 53 or uses DoT/QUIC. If DNS-level blocking fails, use the **Router Hardware/MAC Block** (`chase-tv.sh block`).1171183. **Parent Whitelists in AdGuard**:119 AdGuard's `user_rules` contains explicit bypass rules for parent devices:120 - `pottybarron` / `pottybarron-s26` (`Jarad's S26 Ultra`)121 - `carries-macbook-air`122 - `mommys-iphone`123 - `big-chungus` (`192.168.1.12`, `100.66.29.76`, `127.0.0.1`)124 Global block rules (e.g. `||youtube.com^`) will block children and unmapped devices without breaking parent access as long as the `@@||*^$client=...` rules remain in place without being overridden by `$important`.1251264. **Not every `user_rules` entry is parental**:127 `||*^$client=192.168.1.3,dnstype=AAAA,dnsrewrite=NOERROR` (with its `! tv-vpn-gateway`128 comment) keeps the living-room Fire TV on IPv4 so it cannot leave around its VPN tunnel129 via the router's 6to4 IPv6. It belongs to `~/docker/scripts/tv-vpn-gateway/`. Keep it when130 rewriting the rule list.