문제

I know p2p applications use hole punching for not symmetric NAT, but how Skype or Hamachi connect users with symmetric NAT?

도움이 되었습니까?

해결책

First, the problem exists only if both users are behind symmetric NAT of if one of them has symmetric and the other port-restricted. In both cases is impossible to establish a peer-to-peer connection between them. But if one user is symmetric and the other full cone, then there is not a problem.

The solution with symmetric is to use an intermediarie machine called TURN that is a forwarder that receives packets from Alice and forward them to Bob and viceversa. Skype uses supernodes (nodes with public IPs) as TURN nodes.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top