-
Internet
Anyone, from anywhere.
-
Fibre box in bridge mode
The ISP box only turns fibre into Ethernet. No Wi-Fi, no DHCP, no UPnP or WPS: no services of its own.
-
Cloudflare
In front of the public sites: hides my home IP and filters attacks before they arrive.
-
My phone, away from home
On mobile data with the VPN, I join the network as if I were home.
-
PPPoE connection
The router authenticates with the ISP and gets the public IP, which changes now and then.
-
Port forwarding (NAT)
Only what has somewhere to go is forwarded: the web goes to Traefik and little else. Every rule is scoped to traffic coming in on the WAN.
-
Firewall
Decides what can talk to what. Between segments the default is no: only the documented exceptions.
- MikroTik
- Linux / SSH hardening
-
WireGuard VPN
Lives on the router itself: I moved it out of a container so getting in to fix the server doesn't depend on the server.
-
Server segment
The server and my admin PC. They can start connections towards the rest; the rest can't start them towards here.
-
Wired segment
Home devices on cable. They can't get into the server segment.
-
Wi-Fi, TV and alarm segment
Phones, the TV and the alarm. The most isolated one: it sees neither servers nor wired, except DNS and Plex.
-
DHCP per segment
Each segment gets addresses from its own range, and all of them point at the home DNS.
-
Wi-Fi access point
The old ISP router, repurposed: it only broadcasts Wi-Fi into its segment. No DHCP, UPnP or WPS.
-
Traefik
The only door to the public sites. It has its own unit in the rack.
-
Home DNS
Resolves internal names and blocks ads. It's the exception every segment can reach.
-
Plex
The other exception: the TV, on Wi-Fi, can watch the library.
-
Staged lists
Whoever opens new connections again and again goes onto a first list, then a second, and finally the block list for a day. A single attempt punishes no one.
- MikroTik
- Linux / SSH hardening
-
Hairpin NAT
So that, from inside the house, the public IP leads to the internal service just like from outside.
-
Dynamic IP script
When the ISP changes the public IP, a router script updates only the rules that depend on it.
-
Router management
Administration is only accepted from the server segment and the VPN, with TLS 1.2 and strong SSH crypto.
- MikroTik
- Linux / SSH hardening