Sign in to follow this  
smerf

UDP question....

Recommended Posts

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?

Share this post


Link to post
Share on other sites
I think what you're searching for is a NAT "Punch".

check out this site:
http://www.mindcontrol.org/~hplus/nat-punch.html

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this