UDP question....

Started by
1 comment, last by smerf 17 years, 6 months ago
I have searched high and low (and even in some places I'd like to forget I ever saw) for the information that will tell me exactly how the Nat2Nat server for UltraVNC works (not just a vague diagram, but the code needed - at least psuedocode - to connect the 2 clients) . (You can see it at http://www.uvnc.com/addons/nat2nat.html.) I get the diagram and all, but how exactly would you get 2 UDP connections to your UDP server to start talking to each other instead of the server? As I see it, the whole reason for the Nat2Nat server is to get 2 PCs that can only make ooutgoing connections (because they are behind NATs) to connect directly. If they have already connected to the UDP server and cannot accept incoming connections, how do you get them connected directly to each other and drop the Nat2Nat server from the loop? What's the trick to this? Does anybody know?
Advertisement
I think what you're searching for is a NAT "Punch".

check out this site:
http://www.mindcontrol.org/~hplus/nat-punch.html
May you live as long as you want,
And never want as long as you live.

This topic is closed to new replies.

Advertisement