Outbound

Outbound Transports

Match the network wrapper used by a node.

Updated

Transport is the outer shape of the connection. Most imported nodes already choose the correct transport. Change it only when your provider or your own server configuration tells you to.

Transport choices in Tunna

RAW

A direct protocol connection without an HTTP-style wrapper.

Good fit The provider expects a plain TCP-style proxy connection.

Not ideal The provider lists a path, host, service name, or XHTTP mode.

WebSocket

Carries the node through a WebSocket endpoint, often behind a web server or CDN.

Good fit The profile gives Host and Path values for WebSocket.

Not ideal You do not know the exact path or headers.

gRPC

Uses a gRPC service name and optional authority.

Good fit The provider gives a gRPC service name or authority.

Not ideal The server is described as WebSocket, XHTTP, or HTTPUpgrade.

XHTTP

A newer HTTP-based transport with modes and advanced request behavior.

Good fit The profile explicitly says XHTTP and includes mode, host, or path values.

Not ideal You are setting up a first connection and the imported node already works.

HTTPUpgrade

Starts as HTTP and upgrades into the proxy connection.

Good fit The server expects an HTTP upgrade path.

Not ideal The provider gave WebSocket or XHTTP instead.

mKCP

A KCP-based transport with MTU, timing, and window settings.

Good fit Your server or provider specifically provides mKCP values.

Not ideal You are guessing performance settings.

Safe transport editing

  • Keep imported Host and Path values unless you know the server layout.
  • Do not add headers unless the provider lists them.
  • For XHTTP, keep the imported Mode and extra settings before trying performance changes.
  • For mKCP, avoid changing timing and window values unless the server was tuned for them.

XHTTP has more controls because it has more behavior

XHTTP can control request mode, POST sizes, request spacing, padding, server header size, and multiplexing. Treat those fields as provider instructions or advanced tuning, not first-connection knobs.