Introduction - If you have any usage issues, please Google them yourself
achieve basic NAT function is very simple. Subnets within a reservation to use the IP subnet, These external IP is not visible. Subnet only a small number of IP addresses corresponding to be the only truly global IP addresses. If these nodes need access to external networks, NAT on such a basic responsibility to the children of this node within the IP network into a single global IP then sent out. (Basic NAT will change the IP packet original IP address, but would not change the IP packet ports)
Packet : 99273904nat_p2p.rar filelist
P2P
P2P\Exception.h
P2P\proto.h
P2P\readme.txt
P2P\UDP穿越NAT.TXT
P2P\P2PServer
P2P\P2PServer\P2PServer.cpp
P2P\P2PServer\P2PServer.dsp
P2P\P2PServer\P2PServer.dsw
P2P\P2PServer\P2PServer.ncb
P2P\P2PServer\P2PServer.opt
P2P\P2PServer\P2PServer.plg
P2P\P2PServer\P2PServer.sln
P2P\P2PServer\P2PServer.suo
P2P\P2PServer\P2PServer.vcproj
P2P\P2PClient
P2P\P2PClient\P2PClient.cpp
P2P\P2PClient\P2PClient.dsp
P2P\P2PClient\P2PClient.dsw
P2P\P2PClient\P2PClient.ncb
P2P\P2PClient\P2PClient.opt
P2P\P2PClient\P2PClient.plg
P2P\P2PClient\P2PClient.sln
P2P\P2PClient\P2PClient.suo
P2P\P2PClient\P2PClient.vcproj