Man pages sections > man8 > vtund

vtund - VTun(Virtual Tunnel) daemon.

VTUND(8) System Manager's Manual VTUND(8)


vtund - VTun(Virtual Tunnel) daemon.


vtund < -s > { -4|-6 } [ -i ] [ -n ] [ -f file ] [ -P port ]
vtund { -4|-6 } [ -f file ] [ -P port ] [ -p ] [ -q ] [ -m ] [ -t timeout ] [ -n ] < session > < server address >


VTun provides the method for creating Virtual Tunnels over TCP/IP networks and allows to shape, compress, encrypt traffic in that tunnels.
Supported type of tunnels are: PPP, IP, Ethernet and most of other serial protocols and programs.
VTun is easily and highly configurable, it can be used for various network task like VPN, Mobile IP, Shaped Internet access, IP address saving, etc.
It is completely user space implementation and does not require modification to any kernel parts.


Use IPv4 for transport, and for listening socket. This is the default choice. Any of the addressing modes IPv4 or IPv6 can passed inside the tunnel. The decision to use either is made by the ifconfig and ip commands.
Choose IPv6 as transport layer, and server listening socket.
-f file
Read config information from the file (full path required). By default vtund uses /etc/vtund.conf
Do not become daemon.

Server mode:

Run as the server.
Run as the inetd server.
-P port
Listen for connection on the specified port By default vtund listens on TCP port 5000. This options is equivalent to the 'port' option of config file.

Client mode:

-P port
Connect to the server on the specified port By default vtund connects to TCP port 5000. This options is equivalent to the 'port' option of config file.
Reconnect to the server after connection termination. By default vtund will exit if connection has been terminated. This options is equivalent to the 'persist' option of config file.
Inhibit the printing of connection messages.
Force memory pages to be locked memory-resident to prevent potential VM deadlock. Useful with NFS traffic. This option has no config file equivalent.
-t timeout
Connect timeout Default is 30 seconds. This options is equivalent to the 'timeout' option of config file.
Session name from the config file.
Address of the server to connect to. Either IP address or domain name can be specified.


Main configuration file with sessions and other information. See vtund.conf example provided with distribution and vtund.conf(5) for more information.
Session lock files.
Connection statistic log files.
Date Uncomp_In Uncomp_Out Comp_In Comp_Out


Server mode: Causes vtund to reread the config file.
Client mode: Causes vtund to reestablish the connection.
This signal causes vtund to reset statistic counters.




This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (


Maxim Krasnyansky <>
Debian Sid