Are there any open source NAT pass-through pass-throughs?

Are there any open source pass-through NAT pass-throughs?

+7
cross-platform sockets nat
source share
3 answers

I have not seen one, but you will find more information than you need:

http://www.enchantedage.com/node/8

It is not very difficult to implement, just a little work.

The page demonstrates code that demonstrates this on the basis of unix and windows, including both the server part (introducer) and the client part. He does not list the license, but the author indicates in readme that the technology is free, and re-implementing it from the information on the page, and the sample source code looks relatively easy.

The author seems to be the owner of the enchantedage site, so you can contact him directly for more information.

+2
source share

The best I've seen is UDT , which is a robust UDP library that also includes a rendezvous connection mode that helps take care of NAT punching. All you have to do is figure out the external IP address and port and somehow transfer it to another client (and vice versa). As soon as you learn this information, you simultaneously connect and communicate (with the rendezvous mode set), and he will do everything possible to find out the rest.

+2
source share

I have no answer here, I'm afraid, but I know that a couple of years ago some research was conducted in the field, as a result of which some IETF documents were created. A curious reader may already be familiar with them:

0
source share

All Articles