Docs Config TrustTunnel

TrustTunnel

A newer protocol using username/password authentication with optional QUIC transport, plus a set of connection reuse parameters — useful when you need fine-grained control over concurrent connection counts.

Example Config

config.yaml YAML
proxies:
  - name: trusttunnel
    type: trusttunnel
    server: 1.2.3.4
    port: 443
    username: username
    password: password
    health-check: true
    udp: true
    # quic: true
    # congestion-controller: bbr
    # max-connections: 8

Basic Fields

username/password are the authentication credentials, and health-check enables background health checks; for TLS-related fields (sni/alpn/skip-cert-verify, etc.) see the TLS fields.

QUIC & Connection Reuse

quicDefault: false

Whether to enable QUIC transport.

congestion-controllerOptional

Sets the QUIC congestion control algorithm.

max-connections / min-streams / max-streamsOptional, choose one of three

max-connections limits the maximum number of connections; min-streams is the minimum number of multiplexed streams required on the current connection before opening a new one; max-streams is the maximum number of streams allowed before opening a new connection. These three are mutually exclusive — pick whichever reuse strategy fits your needs.