mwarning / UDP-hole-punching-examples

A small collection of examples for UDP hole punching.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UDP Hole Punching Examples

A small collection of example programs to show how UDP hole punching can be done. Hole punching is a mechanism to access computers in private networks behind NAT (Network Address Translation).

This is a key principle behind STUN. Also important concepts are the different NAT types:

  • Full Cone NAT (normal)
  • Restricted Cone NAT
  • Port Restricted NAT

The examples have not been successfully tested and are probably broken!

Pull requests are welcome. :-)

Public Domain / CC0

Links

A small link list explaining the concepts:

About

A small collection of examples for UDP hole punching.

License:Creative Commons Zero v1.0 Universal


Languages

Language:C 100.0%