STUN stands for Session Traversal Utilities for NAT. It helps peers located behind NATs communicate with each other when they only have private IP addresses.
STUN stands for Session Traversal Utilities for NAT. It helps peers located behind different NATs communicate with each other when they only have private IP addresses.
The underlying technique used by STUN is to have both peers contact a central peer (having a public IP address) to help them communicate directly with each other. Achieving this involves performing NAT hole punching. Performing STUN is not always possible because of restrictions established on NATs.
The original hole punching method used by STUN is now deprecated, because it does not cover all cases properly.