Function: resolveTunnelOptions()
resolveTunnelOptions(
options):ResolvedTunnelOptions
Resolve CLI flag values through the owning tunnel and auth-gate configuration rules.
Parameters
Section titled “Parameters”options
Section titled “options”allow?
Section titled “allow?”string[] = ...
appPort?
Section titled “appPort?”number = ...
bindHosts?
Section titled “bindHosts?”string[] = ...
brandName?
Section titled “brandName?”string = ...
codeTtlSeconds?
Section titled “codeTtlSeconds?”number = ...
forwardHeaders?
Section titled “forwardHeaders?”string[] = ...
frpProtocol?
Section titled “frpProtocol?”string = ...
frpProxyName?
Section titled “frpProxyName?”string = ...
frpPublicDomain?
Section titled “frpPublicDomain?”string = ...
frpServer?
Section titled “frpServer?”string = ...
frpServerPort?
Section titled “frpServerPort?”number = ...
frpToken?
Section titled “frpToken?”string = ...
gatePaths?
Section titled “gatePaths?”string[] = ...
insecure?
Section titled “insecure?”boolean = ...
message?
Section titled “message?”string = ...
number = ...
publicDomain?
Section titled “publicDomain?”string = ...
sessionCutoff?
Section titled “sessionCutoff?”string = ...
sessionTtlSeconds?
Section titled “sessionTtlSeconds?”number = ...
sqlitePath?
Section titled “sqlitePath?”string = ...
storage?
Section titled “storage?”"auto" | "lakebase" | "sqlite" = ...
subdomain?
Section titled “subdomain?”string = ...
subject?
Section titled “subject?”string = ...
transport?
Section titled “transport?”"portr" | "frp" | "both" = ...