субота, 23 квітня 2016 р.

TUN/TAP | The ability for the SSH client to establish a VPN

TUN/TAP

TUN (namely network TUNnel) simulates a network layer device and it operates with layer 3 packets like IP packets. TAP (namely network tap) simulates a link layerdevice and it operates with layer 2 packets like Ethernet frames. TUN is used with routing, while TAP is used for creating a network bridge.
Packets sent by an operating system via a TUN/TAP device are delivered to a user-space program which attaches itself to the device. A user-space program may also pass packets into a TUN/TAP device. In this case the TUN/TAP device delivers (or "injects") these packets to the operating-system network stack thus emulating their reception from an external source.

Applications

Virtual private networks
  • OpenVPNEthernet/IP over TCP/UDP; encrypted, compressed
  • FreeLAN, open-source, free, multi-platform IPv4, IPv6 and peer-to-peer VPN software over UDP/IP.
  • n2n, an open source Layer 2 over Layer 3 VPN application which utilises a peer-to-peer architecture for network membership and routing
  • Tinc, Ethernet/IPv4/IPv6 over TCP/UDP; encrypted, compressed
  • VTun [1], Ethernet/IP/serial/Unix pipe over TCP; encrypted, compressed, traffic-shaping
  • OpenSSH
  • coLinuxEthernet/IP over TCP/UDP
  • Hamachi
Virtual-machine networking
Connecting real machines with network simulation

Platforms

Platforms with TUN/TAP drivers include:

References

  1. Jump up ^ "ns-3: ns3::TapBridge Class Reference". Nsnam.org. Retrieved 2012-07-24.
  2. Jump up ^ Back to My Mac uses an IPv6 tunnel on device utun0.

External links

Немає коментарів:

Дописати коментар