Board logo

標題: OpenVPN —— TUN Device and TAP Device [打印本頁]

作者: 角色    時間: 2013-11-24 15:36     標題: OpenVPN —— TUN Device and TAP Device

本帖最後由 角色 於 2013-11-24 15:46 編輯

在OpenVPN有两种连接方法。TUN Device and TAP Device

从【1】,
TUN Device: A TUN device is a virtual point-to-point IP link.
TAP Device: A TAP device is a virtual ethernet adapter.

从【2】,
TUN (as in network TUNnel) simulates a network layer device and it operates with layer 3 packets such as IP packets. TUN is used with routing.
TAP (as in network tap) simulates a link layer device and it operates with layer 2 packets such as Ethernet frames. TAP is used to create a network bridge.


【1】http://openvpn.net/index.php/ope ... d-a-tap-device.html
【2】http://en.wikipedia.org/wiki/TUN/TAP




歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/) Powered by Discuz! 7.2