Skip to content

Remote Access ​

TaskHandoff has two independent remote-access paths: user devices connecting to a Control Plane, and a Control Plane managing Node Agents on other networks. Plan the ingress, authentication, and trust boundary for each path separately.

text
Browser / mobile ── HTTPS / WSS ──> Control Plane
                                         │
                                         ├── local IPC ──> local Node Agent
                                         ├── reverse WSS <── remote Node Agent
                                         ├── HTTPS ───────> public Node Agent
                                         └── HTTPS / WSS ─> trusted Control Plane ─> Node Agent

Node Agents and controlled instances are not user-facing endpoints. Browsers and mobile clients always connect to the Control Plane, which forwards requests, event streams, and WebSockets over the selected node transport.

In This Chapter ​

Choose the Goal First ​

GoalRecommended pathRequired ingress
Reach the Control Plane from a browser or mobile devicePublic HTTPS reverse proxyControl Plane HTTPS/WSS
Keep the Control Plane private but use it from mobileThandoff account background relayOutbound from the Control Plane only
Manage a remote node that can reach the Control PlaneNode Agent reverse WSSControl Plane HTTPS/WSS
Manage a Node Agent reachable by the Control PlaneDirect Node Agent HTTPSNode Agent HTTPS API
Neither side can accept ingressTrusted Control Plane proxyBoth sides can reach the proxy Control Plane

Current capability boundary

The Thandoff account relay carries client access to a Control Plane. Account-based Node Agent relay is not currently supported. Use a trusted Control Plane proxy when neither side can accept ingress.

Shared Security Rules ​

  1. Use HTTPS/WSS with a trusted certificate for every public endpoint, and enable Control Plane account authentication.
  2. Never expose Node Agent or controlled-instance endpoints and pairing material to ordinary users.
  3. Use one-time tokens only to establish long-lived pairing. Regenerate expired or consumed tokens, and keep them out of repositories, tickets, and logs.
  4. Restrict firewall ports and source networks. Reverse connections and account relay require no Node Agent ingress.
  5. Regularly audit Control Plane login sessions, mobile devices, Node Agent pairings, and proxy bindings.