In this paper, the virtual LAN is designed and implemented by making use of TUN/TAP driver and TUNNEL to traverse NAT and firewall, make those restricted applications communicating normally.
本文设计实现的虚拟局域网利用TUN/TAP虚拟设备和TUNNEL技术,可以突破NAT和大多数防火墙的限制,使受限的应用可以正常的通信。
Linux kernel provides virtual network device TUN/TAP for user,and TUN/TAP provides the ability of sending and receiving network data frame for the programmer of user space.
Linux 内核为用户提供了虚拟网络设备 TUN/TAP,TUN/TAP 为用户空间程序提供了网络数据包的发送和接收能力。