AI project · Home network · 2026

My home network

Every device in my home goes online through a retired 2019 MacBook. Chinese sites go direct. Everything else goes out through rented servers, and AI and banking sites take one more hop to a home internet connection in the US.

If the MacBook dies, the router puts the house back on the normal connection in under a second. AI agents wrote the code; I designed it and run it.

Where a request goes

pick one

My part
Design, decisions, running it
Hardware
2019 MacBook Pro · ASUS routers · 4 rented servers
Software
mihomo · Xray · Asuswrt-Merlin · Cloudflare
Covers
Every device at home, plus phones and laptops outside
01

Routes

I draw each route in the dashboard: which servers it passes through, and which sites take each hop. This is the one I use most.

4servers, plus a backup route through a CDN
4app formats for phones and laptops
30saved snapshots of the whole setup

The home gateway and everyone's phone read the same routes. When one server got blocked from home, I added the CDN route as a switch in the panel, so nobody had to change anything.

02

When something breaks

Nobody at home should notice. Here is what happens if the MacBook goes down.

What checksHow oftenIf it fails
Router watchdogall the timesends the house direct (used to take 6 s)
Heartbeats from MacBook and routerevery 10 sthe panel shows which part is down
Test connection to each serverevery 15 minemails me
Usage checks (9 kinds)all the timepauses that one subscription
03

The old MacBook

A 2019 MacBook Pro, lid closed, with a USB 2.5 GbE adapter. It handles the whole house. Phones and the TV need no setup.

One morning its clock jumped back to 2024. HTTPS stopped working, so DNS stopped working, so it couldn't fix its own clock. I set the time by hand. The steps are written down now.

04

The dashboard

The real panel with made-up data. Try 节点编辑 (node editor) to drag servers and draw routes.

Dashboard

demo data · in Chinese, as I use it · full screen ↗
05

The home panel

What my family sees. Use the box in the corner to unplug the MacBook and watch the house switch to direct.

Home panel

demo data · full screen ↗
06

Things that broke

Most of the design came from these.

WhenWhat happenedWhat I changed
JunApps said "connected", nothing loadedAutomatic server tests + email
AugMacBook clock jumped to 2024, whole house offlineRecovery steps that need no DNS
AugAI sites saw my real address over IPv6IPv6 off at the router
SepSlow Wi-Fi upstairs; a mesh node looked fine but wasn't broadcastingCheck the radio, not the settings
OctOne server unreachable from homeBackup route through a CDN

Claude and Codex wrote the code from three of my computers. How they pass work to each other: agents.zhenhan.link.