摘要
NAT能够修改私网内的IP并进行绑定,把一个区域的IP地址映射到另一个区域的IP地址[1],为主机之间提供透明的路由,所以它能有效地解决IPv4地址紧缺问题,使IP能重复使用,但是它也阻碍P2P的传输。文章阐述了P2P传输模型和NAT阻碍了P2P通信,及以UDP打洞技术实现用户互连的NAT穿透的应用。
NAT modifies the private network IP and bind it, at the same time can a region IP mapp to another region IP. So it can effectively solves the shortage of IPv4 address problem, make IP to reuse, but it also hinders the P2P transmission. In this paper I introduce the P2P transmission model and NAT hindered P2P communications. At last I use UDP hole punching to achieve to penetrate NAT.
出处
《计算机与数字工程》
2009年第12期112-114,143,共4页
Computer & Digital Engineering