2 messages in com.googlegroups.google-talk-openp2p thought NAT using libjingle
FromSent OnAttachments
eXmortal08 Dec 2006 04:04 
eXmortal12 Dec 2006 09:23 
Subject:p2p thought NAT using libjingle
From:eXmortal (vlad@gmail.com)
Date:12/08/2006 04:04:54 AM
List:com.googlegroups.google-talk-open

Hi all,

Currently I'm developing p2p application using libjingle as a transport level (use tunnel sessions). I hacked signal level and make new transport stack, not using standard libjingle XMPP sockets. p2p connection established correctly only when both clients located behind the same NAT, in a other way nothing happened. Clients send each other candidates messages with local type of connection and thats all. Not public endpoints of NAT I didn't see. I specified STUN server address at BasicPortAllocator object, but nothing happened. I don't test TURN configuration, because one of the client's NAT is cone, so hole punching is possible from one side, and no TURN server is required.

How to enable correct work of ICE mechanism of libjingle? Maybe I something lost. Did anyone run pcp example when two clients are behind separate NAT?

Thanks.