Skip to content

Yamux and multiplexing

Yamux is an underlying multiplexing implementation concept. The current typed configuration exposes mux instead of a JSON type named yamux.

Support: historical term. Consult the Node editor for outgoing chain steps and Inbounds for traffic entry.

This is a structural example, not working credentials. Replace placeholders and match all additional transport requirements of your remote server.

{
"id": "example-node",
"name": "Yamux and multiplexing example",
"origin": "manual",
"enabled": true,
"chain": [
{
"type": "mux",
"mux": {
"concurrency": 4
}
}
]
}
  1. mux is an outbound variant with optional concurrency.
  2. mux also exists as an inbound transport type.
  • Both ends must agree on multiplexing support.
  • Multiplexing does not automatically improve performance on every network.
  • Do not use yamux as a protocol type in current node JSON.

When testing, first confirm that the application reaches an enabled inbound. Then check the route target, outbound credentials and Network diagnostics. The frontend UI can differ by platform, so use the supported fields from the current Go contract rather than examples from old releases.