Skip to content

Interface: TunnelInterceptorOptions

Options for tunnelInterceptor (each also resolvable from env).

optional frpProtocol?: string

frpc transport protocol. Env FRP_PROTOCOL; defaults to wss.


optional frpProxyName?: string

frp proxy registration name. Env FRP_PROXY_NAME.


optional frpPublicDomain?: string

FRP public HTTP host. Env TUNNEL_FRP_PUBLIC_DOMAIN.


optional frpServer?: string

frps control host; defaults to the FRP public domain. Env FRP_SERVER.


optional frpServerPort?: number

frps control port. Env FRP_SERVER_PORT; defaults to 443.


optional frpToken?: string

frps auth token. Env FRP_TOKEN (or TUNNEL_TOKEN).


optional port?: number

The PUBLIC port portr forwards to - the port the app itself listens on. Defaults to the Databricks Apps runtime contract DATABRICKS_APP_PORT (then 8000), which is the port the platform routes to.


optional publicDomain?: string

Public host to serve on. Env TUNNEL_PUBLIC_DOMAIN.


optional subdomain?: string

portr subdomain (else derived from publicDomain).


optional transport?: TunnelTransport

Tunnel clients to run. Env DBX_TOOLS_TUNNEL_TRANSPORT; defaults to portr.