Ask HN: How does FaceTime do NAT Traversal?

7 points by gr3g ↗ HN
I've been researching on several NAT Traversal algorithms for project I'm working on. I tried FaceTime on several routers with different NAT configurations and it seemed to work great but couldn't figure out the algorithm. Any help will be much appreciated.

4 comments

[ 6.8 ms ] story [ 19.7 ms ] thread
The usual technique is 'UDP hole punching'.
yeah, same thing Skype does, I would not be surprised if FaceTime does exactly that.
STUN and TURN were already mentioned.

There is also Apple's own NAT-PMP which is more like UPnP but simpler. It can directly ask your (Apple) router to open a port and redirect it incoming traffic to a specific IP address on your local network.

https://secure.wikimedia.org/wikipedia/en/wiki/NAT_Port_Mapp...

I bet Apple also supports UPnP these days.