tcp_routes
TCP routes (SNI routing, passthrough, plain TCP).
planned for v0.6tcp_routes.<name>.listeners
Section titled “tcp_routes.<name>.listeners”Type: list of string
Listeners (tcp or https) the route is attached to.
tcp_routes.<name>.match
Section titled “tcp_routes.<name>.match”Type: string · Required
Rule with TCP matchers: HostSNI(`db.example.com`), HostSNI(`*`), ClientIP, ALPN.
tcp_routes.<name>.priority
Section titled “tcp_routes.<name>.priority”Type: integer · Default: 0
Higher priorities are evaluated first. 0 uses the rule length.
tcp_routes.<name>.service
Section titled “tcp_routes.<name>.service”Type: string · Required
TCP service (a key of tcp_services).
tcp_routes.<name>.tls
Section titled “tcp_routes.<name>.tls”Type: object
TLS handling.
tcp_routes.<name>.tls.passthrough
Section titled “tcp_routes.<name>.tls.passthrough”Type: boolean · Default: false
Forward the encrypted stream without terminating TLS (routing by SNI only).