wiki:305-what-is-the-difference-between-a-tun-device-and-a-tap-device

Version 1 (modified by Samuli Seppänen, 10 years ago) (diff)

--

What is the difference between a TUN device and a TAP device?

A TAP device is a virtual ethernet adapter, while a TUN device is a virtual point-to-point IP link.

You cannot mix --dev tun and --dev tap on different ends of the connection. Use one or the other consistently.

Return to FAQ