Skip to content

Does this library STUN bypass cone/port restricted NAT? #1789

Answered by Sean-Der
makew0rld asked this question in Q&A
Discussion options

You must be logged in to vote

Yes it does! Those terms aren't what people really use anymore. I have attempted to update this page and the WebRTC one and always get reverted. RFC 4787 is a great read. It breaks it down into Mapping/Filtering and then the behaviors are address independent/dependent.

At least one peer must be behind a address independent NAT. This allows them to distribute their NAT mapping so others can send traffic in. If both Peers are behind Address Dependent NATs they can't use STUN and have to use a TURN Server.

  • 2 Address Independent. Both Peers can share their NAT Mappings and it will work.
  • 1 Address Independent. The Independent side can share their mapping, the act of the dependent side contact…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@makew0rld
Comment options

Answer selected by Sean-Der
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants