摘要
NAT穿透技术能够有效解决由于IP地址短缺和路由表增大造成的用户接入困难的问题,可缓解因网络地址的严重消耗造成的IPv4资源稀缺的情况。针对这种情况进行了基于UDP协议的NAT穿透技术研究与仿真。首先分析NAT穿透的类型及各自的原理,提出对于NAT穿透相对有效的UDP打洞方案,然后通过穿透原理得出算法结构流程,最后在VC++环境下进行仿真实验。实验结果表明,该算法结构能够有效地实现NAT穿透目的,而且具有可拓展性,可在较多情况下适用。
NAT penetration technology can effectively solve the problem of user accessing difficulty due to the shortage of IP address and the routing table increases, which may ease IPv4 resource scarcity because of serious consumption of the network address. For this kind of situation, the NAT penetration technology research and simulation based on UDP protocol are carried on. UDP hole punching scheme is put forward for NAT penetration by analyzing the types and principles of NAT penetration. Algorithm structure process is obtained through penetrating principle. Simulation experiment is carried out under the VC ++ environment. Experimental results show that the algorithm can effectively realize NAT penetration purpose, and the algorithm structure is scalable and applicable on many situations.
出处
《计算机时代》
2014年第6期12-14,共3页
Computer Era
基金
山东省高等学校科技计划项目(J13LB04)