1VTUND(8) System Manager's Manual VTUND(8)
2
3
4
6 vtund - VTun(Virtual Tunnel) daemon.
7
9 vtund < -s > [ -i ] [ -n ] [ -f file ] [ -P port ]
10
11 vtund [ -f file ] [ -P port ] [ -p ] [ -m ] [ -t timeout ] [ -n ] <
12 session > < server address >
13
14
16 VTun provides the method for creating Virtual Tunnels over TCP/IP net‐
17 works and allows to shape, compress, encrypt traffic in that tunnels.
18
19 Supported type of tunnels are: PPP, IP, Ethernet and most of other
20 serial protocols and programs.
21
22 VTun is easily and highly configurable, it can be used for various net‐
23 work task like VPN, Mobile IP, Shaped Internet access, IP address sav‐
24 ing, etc.
25
26 It is completely user space implementation and does not require modifi‐
27 cation to any kernel parts.
28
29
31 -f file
32 Read config information from the file (full path required). By
33 default vtund uses /etc/vtund.conf
34
35 -n Do not become daemon.
36
37 Server mode:
38 -s Run as the server.
39
40 -i Run as the inetd server.
41
42 -P port
43 Listen for connection on the specified port By default vtund
44 listens on TCP port 5000. This options is equivalent to the
45 'port' option of config file.
46
47 Client mode:
48 -P port
49 Connect to the server on the specified port By default vtund
50 connects to TCP port 5000. This options is equivalent to the
51 'port' option of config file.
52
53 -p Reconnect to the server after connection termination. By default
54 vtund will exit if connection has been terminated. This options
55 is equivalent to the 'persist' option of config file.
56
57 -m Force memory pages to be locked memory-resident to prevent
58 potential VM deadlock. Useful with NFS traffic. This option
59 has no config file equivalent.
60
61 -t timeout
62 Connect timeout Default is 30 seconds. This options is equiva‐
63 lent to the 'timeout' option of config file.
64
65 session
66 Session name from the config file.
67
68 server Address of the server to connect to. Either IP address or domain
69 name can be specified.
70
72 /etc/vtund.conf
73 Main configuration file with sessions and other information.
74 See vtund.conf example provided with distribution and
75 vtund.conf(5) for more information.
76
77 /var/lock/vtund/
78 Session lock files.
79
80 /var/log/vtund/
81 Connection statistic log files.
82 Format:
83 Date Uncomp_In Uncomp_Out Comp_In Comp_Out
84
86 SIGHUP Server mode: Causes vtund to reread the config file.
87 Client mode: Causes vtund to reestablish the connection.
88
89 SIGUSR1
90 This signal causes vtund to reset statistic counters.
91
93 vtund.conf(5)
94
96 This product includes software developed by the OpenSSL Project for use
97 in the OpenSSL Toolkit. (http://www.openssl.org/)
98
100 Maxim Krasnyansky <max_mk@yahoo.com>
101
102
103
104 VTUND(8)