Skip to content

tcp_routes

TCP routes (SNI routing, passthrough, plain TCP).

planned for v0.6

Type: list of string

Listeners (tcp or https) the route is attached to.

Type: string · Required

Rule with TCP matchers: HostSNI(`db.example.com`), HostSNI(`*`), ClientIP, ALPN.

Type: integer · Default: 0

Higher priorities are evaluated first. 0 uses the rule length.

Type: string · Required

TCP service (a key of tcp_services).

Type: object

TLS handling.

Type: boolean · Default: false

Forward the encrypted stream without terminating TLS (routing by SNI only).