Skip to content

Variable: TunnelInterceptorOptionsSchema

const TunnelInterceptorOptionsSchema: ZodObject<{ frpPath: ZodOptional<ZodString>; frpProtocol: ZodOptional<ZodString>; frpProxyName: ZodOptional<ZodString>; frpPublicDomain: ZodOptional<ZodString>; frpServer: ZodOptional<ZodString>; frpServerPort: ZodOptional<ZodCoercedNumber<number>>; frpStripPrefix: ZodOptional<ZodBoolean>; frpToken: ZodOptional<ZodString>; port: ZodOptional<ZodCoercedNumber<number>>; portrSshUrl: ZodOptional<ZodString>; publicDomain: ZodOptional<ZodString>; subdomain: ZodOptional<ZodString>; transport: ZodOptional<ZodEnum<{ both: "both"; frp: "frp"; portr: "portr"; }>>; }, $strict>

Tunnel interceptor options.

  • transport (optional): Public tunnel transport.
  • publicDomain (optional): Public tunnel host.
  • subdomain (optional): Portr subdomain.
  • portrSshUrl (optional): Portr SSH control endpoint.
  • port (optional): Public listener port.
  • frpServer (optional): FRP control host.
  • frpPublicDomain (optional): FRP public HTTP host.
  • frpServerPort (optional): FRP control port.
  • frpProtocol (optional): FRP transport protocol.
  • frpToken (optional): FRP authentication token.
  • frpProxyName (optional): FRP proxy registration name.
  • frpPath (optional): FRP path location.
  • frpStripPrefix (optional): Strip the FRP path before forwarding.