TURN(全名Traversal Using Relay around NAT),是一种资料传输协议(data-transfer protocol)。允许在TCP或UDP的连在线跨越NAT或防火墙。
TURN是一个client-server协议。TURN的NAT穿透方法与STUN类似,都是通过获取应用层中的公有地址达到NAT穿透。但实现TURN client的终端必须在通信开始前与TURN server进行交互,并要求TURN server产生"relay port",也就是relayed-transport-address。这时TURN server会建立peer,即远程端点(remote endpoints),开始进行中继(relay)的动作,TURN client利用relay port将资料发送至peer,再由peer转传到另一方的TURN client。
参见
外部链接
- RFC 5766 Traversal Using Relay NAT (TURN)
- Yahoo! - Director of Engineering explaining STUN and TURN (Video)(页面存档备份,存于互联网档案馆)
Wikiwand in your browser!
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.