Container CLI

Configure and manage your Nestri Relay environment using CLI parameters for WebRTC settings, STUN servers, local IP handling, and TLS options.

The Nestri Relay CLI provides configuration parameters to manage your relay environment. These options allow you to set values like WebRTC ports, STUN servers, and TLS certificates. Additionally, you can enable verbose mode and debugging for troubleshooting purposes. This documentation details each parameter to help you optimize your relay setup effectively.

Parameters

ParameterTypeDefaultDescription
-v, --verbosebooleanfalseShows more logs; useful for debugging issues. Recommended before reporting problems.
-d, --debugbooleanfalseEnables debugging mode for additional logs and troubleshooting insights.
-p, --endpointPortinteger8088Specifies the main port for the relay endpoint.
WebRTC Settings
--webrtcUDPStartinteger10000Defines the starting UDP port for WebRTC connections.
--webrtcUDPEndinteger20000Defines the ending UDP port for WebRTC connections.
--webrtcUDPMuxinteger8088Specifies the WebRTC UDP multiplexing port.
--stunServerstringstun.l.google.com:19302Defines the STUN server address for NAT traversal.
--autoAddLocalIPbooleantrueAutomatically adds local IP addresses to WebRTC candidates.
--WEBRTC_NAT_IPSstring""Comma-separated list of public IPs for WebRTC NAT traversal (e.g., "192.168.0.1,192.168.0.2").
TLS Configuration
--tlsCertstring""Path to the TLS certificate file for secure connections.
--tlsKeystring""Path to the TLS private key file for secure connections.