Computle Client: Application Architecture
This document provides a comprehensive overview of the Computle Client architecture, including service interactions, network configuration, and system comp
Overview
Core Components
Component
Purpose
System Architecture
┌─────────────────────────────────────────────────────────┐
│ COMPUTLE CLIENT │
│ ┌─────────────────────────────────────────────────┐ │
│ │ Electron Application (main.js) │ │
│ │ - Window management │ │
│ │ - IPC handlers │ │
│ │ - Protocol handlers (computle-vdi://) │ │
│ └─────────────────────────────────────────────────┘ │
│ │ │
│ ┌─────────────────────────────────────────────────┐ │
│ │ Services Layer │ │
│ │ - Authentication - WireGuard management │ │
│ │ - Connectivity - Telemetry │ │
│ │ - DCV/RDP/TGX - Logging │ │
│ └─────────────────────────────────────────────────┘ │
│ │ │
│ ┌─────────────────────────────────────────────────┐ │
│ │ Tunnel Service (.NET Background Service) │ │
│ │ - REST API (Port 28982) │ │
│ │ - WireGuard interface management │ │
│ │ - DNS resolution │ │
│ └─────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────┐
│ BACKEND SERVICES │
├─────────────────────────────────────────────────────────┤
│ Auth System │ WireGuard Manager │
│ auth.computle.com │ wg.computle.com │
│ Port: 443 (HTTPS) │ Port: 443 (HTTPS) │
├─────────────────────────────────────────────────────────┤
│ Assignment Manager │ Computle Portal │
│ Internal service │ portal.computle.com │
│ Port: 3002 │ Port: 443 (HTTPS) │
└─────────────────────────────────────────────────────────┘Network Configuration
Ports and Endpoints
Service
Port
Protocol
Purpose
Service
Endpoint
Purpose
Parameter
Default Value
Tunnel Service API
Endpoints
Endpoint
Method
Authentication
Description
Authentication
Authentication Flow
Microsoft Entra ID (Primary)
Magic Link Authentication
Token Management
WireGuard Point-to-Point Tunnel Integration
Configuration Flow
Configuration Storage
WireGuard Configuration Format
Platform-Specific Implementation
Machine Assignment
Assignment Workflow
Connection Methods
Method
Description
Port
Service Communication
Auth System Integration
WireGuard Manager Integration
Assignment Manager Integration
Security Features
Transport Security
Authentication Security
Tunnel Service Security
Configuration Security
Diagnostics and Monitoring
Connectivity Testing
Logging
Telemetry Events
Event
Description
Deep Linking
URL Format
Parameters
Parameter
Values
Description
Example
Error Handling and Recovery
Tunnel Auto-Recovery
Connection Resilience
Multi-Tenant Architecture
Tenant Isolation
Site Management
Version Information
Component
Current Version
Additional Resources
Last updated