Blog · A home network run like a small office
An address that keeps itself up to date
A tiny service that can change exactly one thing, so I never have to fix the VPN address by hand.
In this series · Chapter 2, Remote access and keysShow all 49 partsHide the list
1. Where it started
- 01Why I'm running my home like a small office
- 02What a read-only audit of my network found
- 03The first changes, and the ones I said no to
- 04Reuse first, build only what's missing
- 05Fifteen decisions before the first line of code
2. Remote access and keys
- 06One way in from outside
- 07An address that keeps itself up to date
- 08Where the passwords live
- 09Keys that can do one thing
3. Monitoring
- 10Is it my network or the internet provider?
- 11A watcher outside the house, and backups I've restored
- 12The drill that found the bug
- 13Alerts that only reach my phone when something needs me
- 14I had the monitor audit itself
- 15Teaching the hub to stop crying wolf
4. The network redesign
- 16"Don't take down my internet": the routine before every change
- 17The firewall upgrade, two days late
- 18Keeping the plan when the builder wanted to drop it
- 19Two Wi-Fi drops, and knowing when to stop
- 20The router at 90 percent
- 21Moving 40 gadgets without touching each one
5. The media server
6. The control center
- 24An overnight prototype, and bars instead of dials
- 25A nice hub, tucked away in a drawer
- 26Instructions for a phone I don't own
- 27Three checks before anything goes live
- 28Buttons with a seatbelt
- 29Rewind: replaying a Wi-Fi outage
- 30"I just want a more sensible layout"
7. Security
- 31A security scoreboard that started at a D
- 32Who's knocking: a security tab in two evenings
- 33Matching every program to the public flaw lists
- 34A DNS log for the house
- 35A weekly scan that can't annoy anyone
- 36The week of the scary flaw list
8. A private AI assistant
9. How the work got done
- 38Keeping a non-developer in charge
- 39A house manual that rebuilds itself every night
- 40My AI assistant keeps blocking itself, and I'm glad
- 41What it cost, what's next, and what I'd bring to an office
10. After the rebuild
- 42The backup that filled its own disk
- 43Two messages, one second, wrong order
- 44My help tool said "fine" at 7 megabits
11. Groceries
A VPN needs an address to connect to. At home, that address is the house's public internet address, and the internet provider can change it whenever it likes. When it changes, the VPN stops working until someone updates it.
The usual answer is a dynamic DNS service: a name that follows your address around. I asked my AI coding assistant to set one up, and then I asked the question that matters for any new service: does this expose the house?
Checking the exposure
A name pointing at your house tells anyone who finds it where your house is on the internet. So before deciding, the assistant checked what someone would see at that address. Nothing was open beyond what I'd opened on purpose. An internet-scanning search engine, the kind attackers use to find targets, had nothing listed for the address.
That settled it. A self-updating address for the VPN was fine, as long as it was hard to guess and nothing else was open.
"I don't want to come back to this every time"
The first version would have needed the assistant whenever the address changed. I told it I didn't want that. The fix had to run on its own.
The result is small and narrow. When the house's address changes, the router calls a tiny online service. That service can do exactly one thing: keep the VPN's address current. It refuses requests without the right password, refuses to change anything else, and refuses private addresses that only work inside a house. The assistant tested each of those refusals, then ran a test change and watched it update within seconds.
I like this pattern a lot. The service can't do anything useful for an attacker even if its password leaks, because its whole job is keeping one address current.
The same evening: three USB trips
Not everything went well that night. An operating system update rewrote a firewall rule on one of the PCs and broke remote sign-in to it. Fixing it took me three trips with a USB stick and about an hour.
I told the assistant to think before sending me off to do something. That became a working rule: when the fix needs a person at a machine, plan the whole visit first, so it's one trip, not three.
What I do differently now
Two habits came out of that evening. I test what an automated service refuses, not just what it does. And when a fix needs someone to walk over to a machine, the steps get written out first, so it's one trip.