A free open-source TURN and STUN server for NAT traversal in VoIP and WebRTC applications.
Coturn is a free open-source TURN and STUN server that facilitates NAT traversal for VoIP and WebRTC applications. It solves the problem of establishing direct peer-to-peer connections between clients behind firewalls or NATs by relaying media traffic through a secure gateway. The server supports multiple transport protocols and authentication mechanisms to ensure reliable real-time communication.
Developers and system administrators building or deploying VoIP systems, WebRTC applications, or any real-time communication platform that requires reliable NAT traversal. It's particularly valuable for enterprises and services needing scalable, self-hosted TURN solutions.
Developers choose Coturn for its robust implementation of TURN/STUN standards, high performance under load, and flexibility in deployment and authentication. Its open-source nature, cross-platform support, and ability to integrate with various databases and monitoring tools make it a preferred alternative to proprietary TURN services.
coturn TURN server project
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Implements full STUN and TURN specifications with UDP, TCP, TLS, DTLS, and experimental SCTP, ensuring broad compatibility for diverse real-time communication scenarios.
Supports multiple user databases including SQLite, MySQL, PostgreSQL, Redis, and MongoDB, plus TURN REST API and oAuth for versatile authentication needs.
Uses libevent2 and configurable multi-threading to handle thousands of simultaneous calls per CPU, with load balancing via DNS SRV and ALTERNATE-SERVER mechanisms.
Includes telnet CLI and HTTPS for management, plus Prometheus integration for monitoring, though the apt package lacks Prometheus support.
With numerous options for databases, transports, and security, setting up Coturn optimally requires deep understanding of TURN/STUN protocols and careful tuning.
The apt package lacks Prometheus monitoring integration, forcing users to build from source or use Docker for full functionality, adding to setup complexity.
Features like SCTP are marked as experimental, and support for draft specifications may lead to instability or compatibility issues in production environments.