While working on a machine-learning project with a friend, I needed to give him remote access to my workstation without exposing the rest of my network.
The Linux machine had an NVIDIA GeForce RTX 5070 Ti, with 16 GB of GDDR7 memory and 8,960 CUDA cores. It was considerably more capable than the hardware he had available. Sharing it let us use the compute I already owned instead of duplicating the setup or renting another cloud GPU instance.
The main question was how to grant that access while keeping the machine private.
The obvious solution: remote access
We needed this connection:
Friend's computer → Internet → my Linux workstation → GPU
He needed to work in the Linux environment and run ML workloads while the workstation remained inside my private network.
A VPN combined with SSH could provide remote access. I wanted permissions limited to one machine, though, rather than broad access to the network. I also wanted to avoid publicly exposing SSH, configuring router port forwarding and maintaining IP allowlists.
I chose Twingate for that access layer.
Enter Zero Trust Network Access
Twingate implements Zero Trust Network Access (ZTNA). The access model was what mattered for this project.
Traditional network security often treats network location as evidence of trust: once a device has connected to a private network, it may gain access to resources inside it.
NIST's Zero Trust Architecture rejects implicit trust based solely on a user or device being inside a particular network. Access decisions instead consider identities, devices and individual resources.
For this setup, that meant asking whether an authenticated collaborator could access a specific resource, rather than granting access to the surrounding network.
What the architecture looked like
The setup had these components:
Collaborator's device
↓
Twingate Client
↓
Authenticated + authorized encrypted connection
↓
Twingate Connector inside my private network
↓
Linux ML workstation
↓
RTX 5070 Ti
I registered the Linux workstation as a private resource and granted my collaborator access through Twingate.
The workstation needed no public exposure, inbound firewall rule or router-level SSH port forwarding. Twingate Connectors initiate outbound connections, so they do not require publicly accessible inbound ports. Twingate authenticates the user and checks their authorization for the requested resource.
The machine could therefore stay private while remaining remotely accessible to an explicitly authorized collaborator.
What happens to the traffic?
Twingate attempts to establish a direct peer-to-peer connection between the Client and Connector using NAT traversal. When that succeeds, traffic travels over a direct encrypted connection, avoiding a traditional centralized VPN gateway.
If NAT or firewall restrictions prevent a direct connection, Twingate can use its relay infrastructure. The Client-to-Connector connection is encrypted; Twingate documents certificate-pinned TLS for these sessions.
For us, the resulting workflow was straightforward: my friend connected to an authorized resource, the workstation stayed inside the private network, and the access policy determined who could reach it.
Why this is better than simply sharing a VPN
The useful distinction was access granularity. A traditional VPN commonly extends a network boundary, making the connected device part of the remote network to some degree. With ZTNA, access starts from an explicit decision about each resource.
My friend needed the workstation's compute, not visibility of other devices or access to unrelated services on my home network. I could express that requirement directly in the access policy.
Restricting access to authorized resources also reduces opportunities for lateral movement. Compromising one endpoint should not automatically give an attacker broad visibility of everything behind the same network boundary.
Turning personal hardware into shared infrastructure
This setup made my workstation usable as a small private compute node. For ML collaboration, that opens up several uses:
- remote model training and experimentation,
- shared CUDA environments,
- centralized datasets,
- reproducible development environments,
- remote inference,
- collaborative notebooks and development servers,
- access to specialized hardware without duplicating it.
The arrangement sits between a personal workstation and a cloud GPU server: the owner retains physical control of the hardware and data while collaborators can use the compute remotely.
Zero Trust networking still needs the usual Linux protections. SSH keys, user isolation, file permissions, containerization, secrets management and appropriate privilege boundaries remain necessary. ZTNA addresses network access; it is one layer of the security model.
Final thoughts
The access flow I wanted was identify the person → authorize the resource → establish the secure connection.
It worked for our two-person ML project. The same requirement appears at larger scales when engineers, contractors, researchers, automated services or AI agents need infrastructure access without access to the surrounding network.
My collaborator could use the RTX 5070 Ti under my desk for the project while the Linux workstation remained private. We had a remotely accessible ML resource without turning the home network into a publicly exposed GPU service.
References
- NIST SP 800-207 — Zero Trust Architecture, National Institute of Standards and Technology, 2020.
- Twingate — Architecture & How Twingate Works, Twingate Documentation.
- Twingate — Peer-to-Peer Communication, Twingate Documentation.
- Twingate — Connector Best Practices, Twingate Documentation.
- NVIDIA GeForce RTX 5070 Family — Specifications, NVIDIA.