Search code examples
firewallnetwork-protocolsnat

How do I write code to get through NAT in a similar way to Skype?


Does anyone knows, how skype redirect NAT and FireWalls?


Solution

  • I believe Skype uses a variant of the STUN protocol to traverse NAT.

    You can find example C# code to implement a STUN client here.