OptionalCERT_Path to a client-specific cert.json holding the public CA certificate,
pinned public server certificate, public client certificate, and client
private key (caCert, serverCert, clientCert, and clientKey).
Never distribute the CA private key or server private key to clients.
When the relay server runs in the same process (SERVER_TLS: true),
this can be omitted — the server's cert set is reused. A client-only
process can receive the automatically generated client/ bundle and
point CERT_FILE at its metadata file. Replacing the relay server
certificate requires updating serverCert on every client.
OptionalCONNECT_Host of the relay server this client connects to. Defaults to the locally started server's host when omitted.
OptionalCONNECT_Port of the relay server this client connects to. Defaults to the locally started server's port when omitted.
OptionalCONNECT_When true, connect to the relay server over TLS. Must match the
server's SERVER_TLS setting.
OptionalDIAL_(forward-dial only) Destination host the forward dialer connects to on demand.
OptionalDIAL_(forward-dial only) Destination port the forward dialer connects to on demand.
OptionalENABLEWhether this client is enabled.
OptionalIDA name this dialer advertises so listeners with a matching
TARGET_ID_LIST can select it. When omitted the dialer is anonymous.
OptionalLISTEN_(forward-listen only) Host the forward listener binds to. Connections
here are forwarded verbatim to the paired forward-dial peer.
OptionalLISTEN_(forward-listen only) Port the forward listener binds to. 0 selects a
free port.
OptionalLOCAL_(proxy-origin only) Host the local proxy listener binds to.
OptionalLOCAL_(proxy-origin only) Port the local proxy listener binds to.
0 selects a free port.
OptionalLOCAL_(proxy-origin only) Proxy protocols accepted by the local listener. Defaults to HTTP, SOCKS4, and SOCKS5 on the same port.
OptionalTARGET_Names of the dialer clients this listener may tunnel to. The listener
waits for a dialer that advertised (via ID) one of these names and
binds to it. When empty/omitted, it binds to the first peer that joins.
OptionalTCP_Try to establish a direct TCP transport to the selected peer. Failed attempts automatically continue through the relay server.
OptionalTCP_Maximum time in milliseconds allowed for a direct TCP attempt.
Defaults to 3000.
The role this client plays. Accepts the enum member or its raw string value so config files parsed from JSON work directly.
A single relay client entry in IRelayProxyConfig.CLIENTS.
Since
6.1.8
Version
2026-07-28