P2P NAT Traversal
Cluster focuses on techniques for establishing peer-to-peer connections through NAT routers and firewalls, including UDP hole punching, STUN, TURN, and challenges with symmetric NAT.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Can someone explain how it deals with routers and NAT ? Does it use UDP hole punching ?
Isn't this called "NAT punching", and generally used by games and other sw to establish peer-to-peer connections?
Hole punching through routers. It's hard to generically connect two NAT'd devices directly. It's simpler to route through a central server.
Not really no. If both peers are behind NAT they just can't connect. There's no central server to facilitate hole punching.
this is truly great, just tested and it traverses NAT without problems(two peers behind NATs), how does it do that?
You can use STUN or TURN (default). But then it's not truly P2P.
It doesn't work if both ends have NAT.
Use NAT hole punching if you're advanced, or you could fall back to IP/port filtering
Couldn't you use it to coordinate NAT punchthrough?
P2P firewall traversal is pretty common these days. Checkout STUN/ICE/TURN.