&quot;A STUN server is still used to find out your external IP for NAT-busting.&quot;<p>essentially, now the STUN is the MITM. STUN server lies to both parties about what their IP addresses are and responds with IPs that it controls. Both parties connect to those IPs and the messages are relayed between them.