fix: improve tunnel system

This commit is contained in:
LukeGus
2025-12-28 01:59:14 -06:00
parent 761a1eb6d3
commit 5865019c8c
5 changed files with 511 additions and 141 deletions

View File

@@ -212,6 +212,14 @@ export interface TunnelConnection {
export interface TunnelConfig {
name: string;
// Unique identifiers for collision prevention
sourceHostId: number;
tunnelIndex: number;
// User context for RBAC
requestingUserId?: string;
hostName: string;
sourceIP: string;
sourceSSHPort: number;
@@ -226,6 +234,7 @@ export interface TunnelConfig {
endpointIP: string;
endpointSSHPort: number;
endpointUsername: string;
endpointHost: string;
endpointPassword?: string;
endpointAuthMethod: string;
endpointSSHKey?: string;