Upgrade 3CX to v18 and get it hosted free!

TURN Protocol: Traversal Using Relay NAT

Author image

TURN is an extension for STUN-bis protocol to facilitate NAT traversal when one or both endpoints are behind NAT. With TURN, media traffic for the session will have to go to a relay server. Since relaying is expensive, in terms of bandwidth that must be provided by the provider and additional delay for the media traffic, TURN is normally used as the last resort when endpoints cannot talk directly. The ICE protocol provides a mechanism for both endpoints to discover the most optimized path to be used for the media traffic.

TURN uses STUN-bis binary protocol, but it defines new requests, attributes, and a totally new set of functionality. Unlike STUN-bis, TURN is a stateful protocol: it defines sessions, and each session has its own lifetime and its own context.

The IETF (Transport Area) RFC 5766 for TURN, Apr 2010, is https://datatracker.ietf.org/doc/html/rfc5766.

The original TURN RFC 5766 defines only IPv4 functionality, RFC 6156 http://tools.ietf.org/html/rfc6156 is an extension of TURN specs for IPv6.

Implementations

  • PJNATH library from pjsip.org project is an Open Source NAT traversal library supporting STUN-bis, TURN, and ICE.
  • TURN Server is an Open Source TURN Server supporting STUN-bis, TURN, IPv6 TURN extension (RFC6156) and (as an experimental feature) DTLS client protocol.
  • Numb is a free STUN/TURN server.
  • libnice: includes the client-side implementation of TURN (draft 11), also does ICE (draft 19) and STUN (RFC 3489 and 5389)
  • OfficeSIP TURN Server is open source C# implementation of MS-TURN.pdf compatible TURN server.

See also:


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.