阅读更多
1 Demo
请参考vpn-demo
2 参考
- How to interface with the Linux tun driver
- Tun/Tap interface tutorial
- Using the TUN/TAP driver to create a serial network connection
- root/Documentation/networking/tuntap.txt
- sakisds/Serial-TUN
- Let’s code a TCP/IP stack, 1: Ethernet & ARP
- lab11/go-tuntap
- songgao/water
- How do I set an ip address for TUN interface on OSX (without destination address)?
- Linux虚拟网络设备之tun/tap
- Linux 网络工具详解之 ip tuntap 和 tunctl 创建 tap/tun 设备
- Raw Socket 接收和发送数据包
- A Guide to Using Raw Sockets
- Go中原始套接字的深度实践