DocumentationDocsEverything you need to run, configure, and inspect tunnels.Getting StartedIntroductionWhat is zgrok and how it worksInstallationInstall zgrok on macOS, Linux, or WindowsQuick StartCreate your first tunnel in 2 minutesGuidesCustom HeadersInject CORS and custom response headers into tunnel trafficIP WhitelistingPRORestrict tunnel access by IP address or CIDR rangeAuto-ReconnectAutomatic recovery when your tunnel connection dropsRequest LoggingReal-time HTTP request logs in your terminalRequest InspectorInspect and replay every request through your tunnel, in a local web UIQR CodeDisplay a QR code for your tunnel URL in the terminalWebhook DebuggingTest and debug webhooks from services like Stripe and GitHubLocal AI (Ollama, LM Studio)Expose a local AI model to a public URL with zgrok ai, token-protected and built for long requestsWebSocketsTunnel WebSocket connections: dev-server hot reload, realtime apps, and any Upgrade-based protocolReferenceCLI ReferenceComplete reference for all zgrok commands, flags, and optionsConfigurationConfig file, environment variables, and default settingsPlans & LimitsFree and Pro plan comparison, limits, and featuresTroubleshootingCommon issues and solutions