From Wikipedia, the free encyclopedia
Developer(s)Maxim Krasnyansky, Bishop Clark[1]
Stable release
3.0.4 / 19 September 2016; 7 years ago (2016-09-19)
Operating systemMost Unix
Screenshot of the VTUN Graphical User interface

VTun is a networking application which can set up Virtual Tunnels over TCP/IP networks. It supports Internet Protocol (IP), Point-to-Point Protocol (PPP) and Serial Line Internet Protocol (SLIP) protocols.[2][3] It exists as the reference implementation of the Tun/Tap user-space tunnel driver which was included in the Linux kernel as of version 2.4, also originally developed by Maxim Krasnyansky. Bishop Clark is the current maintainer.


Like most other applications of its nature, VTun creates a single connection between two machines, over which it multiplexes all traffic. VTun connections are initiated via a TCP connection from the client to the server. The server then initiates a UDP connection to the client, if the UDP protocol is requested.

The software allows the creation of tunnels, for routing traffic in a manner similar to PPP, as well as a bridge-friendly ethertap connection.


VTun uses a Private Shared Key to negotiate a handshake via a challenge and response.

Non-encrypting versions[edit]

A continual source of concern, and the target of more than one strongly worded security assessment, is that the VTun server and client binary applications can be completely built without encryption support. When such binaries are used, the encryption between both endpoints is only a simple XOR cipher, which is completely trivial to decode. This type of build is not supported by the developers.


  1. ^ "Team". Retrieved July 9, 2023.
  2. ^ "vtun(8): VTun daemon - Linux man page". linux.die.net. Retrieved 2023-07-09.
  3. ^ "VTun - FAQ". vtun.sourceforge.net. Retrieved 2023-07-09.

External links[edit]