# TUN/TAP Virtual Network Interface

TUN/TAP Virtual Network Interface: Operating-system virtual network kernel interfaces (Layer-3 TUN for IP packets, Layer-2 TAP for Ethernet frames) used by Mihomo and sing-box to capture all device traffic.

Canonical: https://canfly.win/wiki/network/tun-tap

## Article

- Operating-system virtual network kernel interfaces (Layer-3 TUN for IP packets, Layer-2 TAP for Ethernet frames) used by Mihomo and sing-box to capture all device traffic.

- Routing Evaluation & VPS Selection Benchmark

- When benchmarking overseas VPS routes, evaluate peak-hour (20:00–23:00 UTC+8) bidirectional traceroutes, packet-loss ratios, carrier ASN paths (AS4809 CN2 GIA, AS9929 CU Premium, AS58807 CMIN2), and Native vs Broadcast IP registration across our 895 indexed plans.

- Related Technical Wiki Entries

## Record verified

- 2026-11-08

## Sources

- [www.kernel.org](<https://www.kernel.org/doc/Documentation/networking/tuntap.rst>)

- [www.wintun.net](<https://www.wintun.net/>)

## Continue reading

- [Wiki index](<https://canfly.win/wiki>)
