| With the rapid development of Internet, more and more users are connecting tothe network. We are now facing the problem of the shortage of IP address. To solvethe problem, NAT technology has introduced to the network. But because of the rapiddevelopment of network technology, the traditional client-server mode can not fulfillthe new requirements for the network development. The P2P network can make fulluse of the resource of network, and also has the advantages such as distribution,scalability and robustness.But the large number of NAT equipment has hindered thedevelopment of P2P applications because NAT technology limited the two terminalsto exchange information directly. In order to solve the problem, researchers haveoffered some solutions.This paper first studied the current solutions and then makes deep research on theUDP/TCP traversal technology, finally realize P2P communication. In next part of thispaper, the various NAT traversal solutions have been deeply studied, and we analysedthe performance, the development of occasions and scalability.Detailed discussed the NAT technology, NAT fuctions, the type of NAT, specificof NAT technology. Study the P2P network topology and feature. Then analyse theproblems brought to P2P technology by NAT. Then we do the research of traversal ofNAT network based on TCP/UDP protocol. Study the theory and procedure of thistechnology. And we also discuss the solutions in different scene. Finally we putforward the test result and the correctness and availability are demonstrated by theanalysis of the result. |