3

I would appreciate you did a great job here, if you could help me answer the following questions:

  1. In the case of large scale and various NAT type devices, currently in the open source code field, only using STUN (not use Turn Server) punching success rate is what?

  2. In addition, is there any way to increase the success rate of hole punching to 99% In the case of stun only(not turn)? E.g. port prediction

  3. If there has turn server, whether can make the success rate of the hole punching reach to 99.99% above?

Thanks to anyone who can give me an idea for any question!

johnny xu
  • 31
  • 2

1 Answers1

1

As for NAT types, we always means the four types(also named as NAPT): Full Cone, Restrict, Port Restrict, Symmetric. For Symmetric NAT, it's relatively hard to do hole pounch. For the other three types STUN can solve them easily. So it's hard to say the success rate for all of them.

tyChen
  • 1,404
  • 8
  • 27
  • I see. Are there any other specific methods that can effectively increase the hole puching the success rate? I hope guarantee the success rate of restrict nat and port restrict to 99% and the success rate of symmetric nat to 80%! Remark: the old port prediction method(poor performance) is excluded. – johnny xu Jan 31 '21 at 10:07
  • 99% success rate for Restricted NAT and Port Restricted NAT is quite easy. But for Symmetric NAT, due to the random port mapping machanism, it is really hard. It's better to have a relay/server to delever it. – tyChen Jan 31 '21 at 10:21