Repository navigation
Allow T3 Connect to use attested environment-managed endpoints instead of relay-provisioned Cloudflare tunnels #7030
Replies: 4 comments
|
Adding a user perspective in support of separating T3 Connect discovery/authentication from managed Cloudflare tunnel allocation. I use three environments: a MacBook, a Windows PC, and a Docker container. I encountered provisioning failures, then a maximum-of-3-managed-tunnels error, and even Deregister failed. Details are in #14070. Connect now enables successfully on my PC with 0.0.44, so this is a feature request motivated by that experience, not a claim that the outage is ongoing. The environment-managed HTTPS/WSS option proposed here would already help. As a separate, longer-term extension, would an optional direct connection mode be in scope?
I understand this goes beyond the original HTTPS/WSS proposal: the current HTTP/WebSocket transport would need adaptation, and authentication, revocation, reconnection, and desktop/web/mobile compatibility would need careful design. Direct connectivity is not guaranteed on every network. I also saw the closing comment on #8852, which says P2P remote access is not planned. That implementation used Holepunch/HyperDHT and included unrelated changes. Could maintainers clarify whether P2P transport is out of scope regardless of implementation, and whether the narrower environment-managed HTTPS/WSS option in this discussion is still something you would consider? That would help users decide between waiting for upstream support and maintaining a separate solution. |
|
Adding a concrete case for this, because #15467 and #15468 made it a lot more compelling. I run a handful of VMs in a homelab, all on a WireGuard network that my laptops and phone are also on. Every VM is reachable directly, with a stable address, and after the routes work the clients even learn those addresses on their own. The only thing I still need T3 Connect for is discovery: when I spin up a new VM, I want it to appear in my clients without pairing it on each device. Today that is only possible with a An environment-managed endpoint as proposed here would close that gap cleanly: the relay keeps doing discovery, DPoP bootstrap and credentials, the environment presents its own HTTPS/WSS endpoint (or, with the new routes, just lets the clients learn the direct addresses after the first bootstrap), and no tunnel is allocated. That removes the per-tunnel cost that motivated the cap in the first place, which seems aligned with where #10716 and #11674 were heading. Happy to contribute to this or test any early branches. 🙏 |
|
I’d find this useful too. I run each project in its own Proxmox container, and I’m already using all three managed tunnels. I’d be happy to run all the tunnels through my own Cloudflare account. I mainly want to keep signing into T3 Connect and finding my environments on both desktop and mobile, without having to pair each one on every device. So the environment-managed endpoints proposed here would work well for me. Is this something you’d consider supporting? Happy to help test. |
|
Fully self hosted t3 connect would be great, the control plane could then just have its own MCP server for management and orchestration. |
Uh oh!
There was an error while loading. Please reload this page.
Problem
T3 Connect's managed remote-connection path currently couples account-wide environment discovery and connection authorization to a relay-provisioned Cloudflare tunnel. The contracts already distinguish endpoint provider kinds, but the current client linking flow selects
cloudflare_tunnel, provisioning returns a Cloudflare connector token/runtime, and relay connection authorization requires a matching managed Cloudflare allocation.Some self-hosted environments already provide a stable browser-trusted HTTPS/WSS endpoint through their own outbound-only connector or mesh. They should be able to participate in T3 Connect discovery, DPoP bootstrap, health, credential minting, revocation, and device handoff without asking the T3 relay to provision or own the data-path tunnel.
This is not a request to weaken endpoint authorization or accept arbitrary caller-supplied URLs.
Proposed narrowly scoped contract
Add a provider-neutral environment-managed endpoint mode alongside the existing relay-managed Cloudflare mode.
Conceptually:
The exact names can follow the repository's preferred vocabulary. A generic contract is preferable to a vendor-specific provider enum.
Link flow
endpointRuntime: null(or an explicit environment-managed runtime variant).Client behavior
cloudflare_tunnelas the only managed-link choice.Security requirements
An environment-managed endpoint must not be authorized from a URL alone. The relay should require all of the following:
httpsandwssonly, with matching canonical host/port;Concrete integration motivating this
Omnidia is building a memory-safe Rust, outbound-only mesh connector. Stock T3 clients would use normal HTTPS/WSS to an Omnidia public edge; the Omnidia-controlled edge-to-instance leg is carried over a mutually authenticated post-quantum-secure mesh. T3 would remain the discovery/authentication/credential control plane, not the tunnel provider or data relay.
The client-facing path remains ordinary TLS/WSS; this proposal does not claim end-to-end PQC and does not require T3 clients to implement Omnidia transport code.
Suggested implementation slices
I am opening the issue before proposing code per
CONTRIBUTING.md. I can prepare a small focused PR after maintainers choose the preferred contract shape.All reactions