UNPKG

wireguard-client-wrapper

Version:
17 lines (16 loc) 329 B
export interface Interface { address: string[]; listenPort?: number; privateKey: string; dns: string[]; } export interface Peer { publicKey: string; allowedIPs: string[]; endpoint: string; persistentKeepalive?: number; } export interface WgConfig { wgInterface: Interface; wgPeer: Peer; }