File: vtund.8

package info (click to toggle)
vtun 3.0.3-3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,460 kB
  • ctags: 1,035
  • sloc: ansic: 4,122; sh: 2,814; yacc: 535; lex: 195; makefile: 143
file content (171 lines) | stat: -rw-r--r-- 3,455 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
.\" Manual page for vtund
.\" $Id: vtund.8,v 1.6.2.2 2012/07/08 05:32:57 mtbishop Exp $
.\" SH section heading
.\" SS subsection heading
.\" LP paragraph
.\" IP indented paragraph
.\" TP hanging label
.TH VTUND 8
.SH NAME
vtund \- VTun(Virtual Tunnel) daemon.
.SH SYNOPSIS
.B vtund 
<
.I -s  
>
{
.IR -4 | -6
}
[ 
.I -i 
] 
[ 
.I -n 
] 
[ 
.I -f file 
] 
[ 
.I -P port 
]
.LP
.B vtund 
{
.IR -4 | -6
}
[ 
.I -f file 
] 
[ 
.I -P port 
]
[ 
.I -p 
]
[ 
.I -q 
]
[ 
.I -m 
]
[ 
.I -t timeout 
]
[ 
.I -n 
] 
<
.I session 
>
<
.I server address 
>

.SH DESCRIPTION
.LP
VTun provides the method for creating Virtual Tunnels over TCP/IP networks
and allows to shape, compress, encrypt traffic in that tunnels. 
.LP
Supported type of tunnels are: PPP, IP, Ethernet and most of other serial 
protocols and programs.
.LP
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.
.LP
It is completely user space implementation and does not require modification
to any kernel parts. 

.SH OPTIONS
.TP
.I -4
Use \fBIPv4\fR 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 \fIifconfig\fR and \fIip\fR commands.
.TP
.I -6
Choose \fBIPv6\fR as transport layer, and server listening socket.
.TP
.I -f file 
Read config information from the
.I file
(full path required). By default vtund uses /etc/vtund.conf
.TP
.I -n 
Do not become daemon.
.SS Server mode: 
.TP
.I -s
Run as the server.
.TP
.I -i
Run as the inetd server.
.TP
.I -P port
Listen for connection on the specified
.I port
By default vtund listens on TCP port 5000. This options is equivalent to 
the 'port' option of config file.
.SS Client mode:
.TP
.I -P port
Connect to the server on the specified
.I port
By default vtund connects to TCP port 5000. This options is equivalent to 
the 'port' option of config file.
.TP
.I -p
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.
.TP
.I -q
Inhibit the printing of connection messages.
.TP
.I -m
Force memory pages to be locked memory-resident to prevent potential VM deadlock.  Useful with NFS traffic.  This option has no config file equivalent.
.TP
.I -t timeout
Connect 
.I timeout
Default is 30 seconds. This options is equivalent to the 'timeout' option of
config file.
.TP
.I session 
Session name from the config file.
.TP
.I server 
Address of the server to connect to. Either IP address or domain name can be 
specified.
.SH FILES
.TP
.B /etc/vtund.conf
Main configuration file with sessions and other information. 
See vtund.conf example provided with distribution and vtund.conf(5) 
for more information.
.TP
.B /var/lock/vtund/
Session lock files. 
.TP
.B /var/log/vtund/
Connection statistic log files.
.br
Format:
   Date Uncomp_In Uncomp_Out Comp_In Comp_Out
.SH SIGNALS
.TP
.B SIGHUP
Server mode: Causes vtund to reread the config file.
.br
Client mode: Causes vtund to reestablish the connection.
.TP
.B SIGUSR1
This signal causes vtund to reset statistic counters. 
.SH SEE ALSO
.TP
vtund.conf(5)
.SH NOTES 
.LP
This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit. (http://www.openssl.org/)
.SH AUTHORS
Maxim Krasnyansky <max_mk@yahoo.com>