Class 10 visual reference. Use it as the map, then prove it in the reading, lesson, and lab.
Overview
Module: Module 3: Home Assistant & Secure Access Topic: 03: Secure remote access Activity type: Reading / reference (Learn) Bloom focus: Evaluate / Apply Links to outcome: Given a threat model for admin UIs, the learner can choose VPN vs tunnel vs dangerous port-forward patterns, implement an authenticated remote path (or document VPN-only), and prove unauthorized denial plus rollback.
Why it matters
Why this matters
In plain words: This gives you a reason to care before the theory. Context first, then details.
Remote access must not mean publishing every admin interface to the internet. The objective is a narrow, authenticated path with encrypted transport, least privilege, logs, revocation, and a rollback plan.
In plain words: Big idea: Remote access must not mean publishing every admin interface to the internet.
Words
Vocabulary
In plain words: This list is your pocket dictionary for the class. You do not need to memorize every word on day one.
More detail: Come back here when a later step uses a term you forgot.
Add terms as you encounter them in Instruction.
In plain words: Big idea: _Add terms as you encounter them in Instruction._
Learn
Core reading
In plain words: Read this block, then try the next action. If you feel stuck, tap What this means.
Threat model
Assets include Home Assistant control, ARR API keys, download clients, media libraries, cameras, door controls, and internal topology. Threats include password reuse, token theft, software vulnerabilities, incorrect access policies, exposed origin ports, and session theft.
In plain words: Home Assistant watches sensors and runs if-this-then-that rules for your house.
Architecture choices
In plain words: Do this carefully, then check that it worked before moving on. (Architecture choices)
VPN/mesh access
The remote device joins a private network and reaches services as if on an authorized internal segment. This is usually the simplest mental model for owner/admin access.
In plain words: Big idea: The remote device joins a private network and reaches services as if on an authorized internal segment.
Outbound tunnel with access policy
A connector initiates an outbound tunnel to a provider. A policy layer authenticates the user before proxying to a selected internal service.
flowchart LR
U["Remote user"] --> I["Identity + MFA"]
I --> P["Access policy"]
P --> T["Outbound tunnel"]
T --> H["Selected internal app"]
The tunnel encrypts and routes traffic; it does not automatically create a good authorization policy. An accidentally public hostname can still be dangerous.
In plain words: This path is about safe remote reach or private download traffic: not opening every admin page to the world.
Rules for this course
Never expose qBittorrent, SABnzbd, Sonarr, Radarr, Prowlarr, Proxmox, or Docker APIs directly to the public internet.
Prefer VPN access for administrative tools.
If publishing Home Assistant through a supported proxy/tunnel pattern, require strong identity controls and follow HA proxy configuration guidance.
Do not disable TLS validation as a permanent fix.
Keep origin services LAN-bound where possible.
Store tunnel credentials as secrets and rotate after exposure.
In plain words: Proxmox is a Type 1 hypervisor you install on dedicated hardware and manage in a web browser.
Cloudflare concepts
Term
Meaning
Tunnel connector
Local process creating outbound connectivity
Public hostname
External hostname mapped through the tunnel
Origin service
Internal destination reached by the connector
Access policy
Identity/attribute rules that allow or deny requests
Service token
Machine-to-machine credential where supported
MFA
Additional authentication factor
In plain words: This path is about safe remote reach or private download traffic: not opening every admin page to the world.
Reverse proxy awareness
If you terminate TLS on a proxy, record host headers and whether HA trusted_proxies (or equivalent) is required, follow current HA docs.
In plain words: Big idea: If you terminate TLS on a proxy, record host headers and whether HA this setting (or equivalent) is required, follow current HA docs.
I do
Worked example (study this)
In plain words: I do: watch the bad → better reasoning. Steal the thinking, not just the answer.
I do: study the reasoning, not just the final answer.
In plain words: Big idea: **I do**: study the reasoning, not just the final answer.
Bad: Forward port 8123/8989 to the world because “I’ll use a strong password.”
In plain words: A port is the door number you use in the browser to open the app.
Better: Prefer VPN or an authenticated tunnel pattern approved by the lesson; never expose download clients; prove an unauthorized client is denied; keep a rollback.
In plain words: This path is about safe remote reach or private download traffic: not opening every admin page to the world.
TipCurrent correction
Provider dashboards, policy syntax, and product names change. Use current official Cloudflare or selected VPN documentation. The security requirements, narrow exposure, explicit identity, denial testing, revocation, and fail-closed behavior, remain the authority.
In plain words: Read this before you rush. It keeps you safe or up to date.
Learn
Next
In plain words: Read this block, then try the next action. If you feel stuck, tap What this means.
Open the Lesson for prior-knowledge check, guided practice, and required Feynman teach-back.
Then complete Lab, Homework, and Quiz for this topic.