Connect an ESP32 to the internet without opening a single port
My ESP32 reaches the internet. Open ports: zero.

Summary
- The N1 goes out over HTTPS to a Cloudflare Tunnel.
- Cloudflare Access checks a service token.
- The switchboard listens only on 127.0.0.1.
- WiFiMulti: home Wi-Fi or the phone's hotspot.
- The token lives in the device config. Never in the repo.
«Open ports on my router: zero. As it should be.»
The math · The path
- N1 → HTTPS → Cloudflare Access → tunnel → switchboard on 127.0.0.1.
- Open ports on the router: 0.

Engineer's rule
What isn't exposed can't be attacked.