by j1elo · 5y ago · 0 comments
Once this NAT thing has been done by both parts, and the actual communication has started directly P2P, STUN is not needed any more.
You send outgoing packets simultaneously from both sides. Causing both sides to add nat translation entry’s to their nat tables. When the packets arrive both sides already have nat translation entries and the packets go right through the nat.
From the network point of view it looks the same as two hosts starting an outgoing TCP connection through nat - if that works then hole punching should work too.
I know, but what I mean is that "true P2P" on our current internet architecture is not possible, you always need the help of a third party