WireGuard tunnel configuration

interface WireGuardTunnelConfig {
    ipv4?: WireGuardIpAddress;
    ipv6?: WireGuardIpAddress;
    name: string;
    peers: WireGuardPeer[];
    port?: number;
    privateKey: string;
    publicKey?: string;
    stack?: WireGuardIpStack;
}

Properties

name: string
peers: WireGuardPeer[]
port?: number
privateKey: string
publicKey?: string