3 .\" Manual page created by:
4 .\" Ivo Timmermans <ivo@o2w.nl>
5 .\" Guus Sliepen <guus@sliepen.eu.org>
12 .Op Fl -config Ns = Ns Ar DIR
14 .Op Fl -debug Ns Op = Ns Ar LEVEL
15 .Op Fl -kill Ns Op = Ns Ar SIGNAL
16 .Op Fl -net Ns = Ns Ar NETNAME
17 .Op Fl -generate-keys Ns Op = Ns Ar BITS
19 .Op Fl -logfile Ns Op = Ns Ar FILE
20 .Op Fl -pidfile Ns = Ns Ar FILE
21 .Op Fl -bypass-security
25 This is the daemon of tinc, a secure virtual private network (VPN) project.
28 will read it's configuration file to determine what virtual subnets it has to serve
29 and to what other tinc daemons it should connect.
30 It will connect to the ethertap or tun/tap device
31 and set up a socket for incoming connections.
32 Optionally a script will be executed to further configure the virtual device.
34 it will detach from the controlling terminal and continue in the background,
35 accepting and setting up connections to other tinc daemons
36 that are part of the virtual private network.
37 Under Windows (native) tinc will install itself as a service,
38 which will be restarted automatically after reboots.
40 .Bl -tag -width indent
41 .It Fl c, -config Ns = Ns Ar DIR
42 Read configuration options from
45 Don't fork and detach.
46 This will also disable the automatic restart mechanism for fatal errors.
47 .It Fl d, -debug Ns Op = Ns Ar LEVEL
48 Increase debug level or set it to
51 .It Fl k, -kill Ns Op = Ns Ar SIGNAL
52 Attempt to kill a running
54 (optionally with the specified
56 instead of SIGTERM) and exit.
57 Under native Windows the optional argument is ignored,
58 the service will always be stopped and removed.
59 .It Fl n, -net Ns = Ns Ar NETNAME
62 .It Fl K, -generate-keys Ns Op = Ns Ar BITS
63 Generate public/private RSA keypair and exit.
66 is omitted, the default length will be 1024 bits.
68 Lock tinc into main memory.
69 This will prevent sensitive data like shared private keys to be written to the system swap files/partitions.
70 .It Fl -logfile Ns Op = Ns Ar FILE
71 Write log entries to a file instead of to the system logging facility.
74 is omitted, the default is
75 .Pa @localstatedir@/log/tinc. Ns Ar NETNAME Ns Pa .log.
76 .It Fl -pidfile Ns = Ns Ar FILE
80 .Pa @localstatedir@/run/tinc. Ns Ar NETNAME Ns Pa .pid.
81 .It Fl -bypass-security
82 Disables encryption and authentication of the meta protocol.
83 Only useful for debugging.
85 Display short list of options.
87 Output version information and exit.
90 .Bl -tag -width indent
94 to try to connect to all uplinks immediately.
97 attempts to do this itself,
98 but increases the time it waits between the attempts each time it failed,
101 didn't succeed to connect to an uplink the first time after it started,
102 it defaults to the maximum time of 15 minutes.
104 Partially rereads configuration files.
105 Connections to hosts whose host config file are removed are closed.
106 New outgoing connections specified in
110 Temporarily increases debug level to 5.
111 Send this signal again to revert to the original level.
113 Dumps the connection list to syslog.
115 Dumps virtual network device statistics, all known nodes, edges and subnets to syslog.
117 Purges all information remembered about unreachable nodes.
120 The tinc daemon can send a lot of messages to the syslog.
121 The higher the debug level,
122 the more messages it will log.
123 Each level inherits all messages of the previous level:
124 .Bl -tag -width indent
126 This will log a message indicating
128 has started along with a version number.
129 It will also any serious error.
131 This will log all connections that are made with other tinc daemons.
133 This will log status and error messages from other tinc daemons.
135 This will log all requests that are exchanged with other tinc daemons. These include
136 authentication, key exchange and connection list updates.
138 This will log a copy of everything received on the meta socket.
140 This will log all network traffic over the virtual private network.
143 .Bl -tag -width indent
144 .It Pa @sysconfdir@/tinc/ Ns Ar NETNAME Ns Pa /tinc.conf
145 The configuration file for
147 .It Pa @sysconfdir@/tinc/ Ns Ar NETNAME Ns Pa /tinc-up
148 Script which is executed as soon as the virtual network device has been allocated.
149 Purpose is to further configure that device.
150 .It Pa @sysconfdir@/tinc/ Ns Ar NETNAME Ns Pa /tinc-down
151 Script which is executed when
154 Purpose is to cleanly shut down the virtual network device before it will be deallocated.
155 .It Pa @sysconfdir@/tinc/ Ns Ar NETNAME Ns Pa /hosts/*
156 The directory containing the host configuration files
157 used to authenticate other tinc daemons.
158 .It Pa @sysconfdir@/tinc/ Ns Ar NETNAME Ns Pa /hosts/ Ns Ar NAME Ns Pa -up
159 Script which is executed as soon as host
162 .It Pa @sysconfdir@/tinc/ Ns Ar NETNAME Ns Pa /hosts/ Ns Ar NAME Ns Pa -down
163 Script which is executed as soon as host
166 .It Pa @localstatedir@/run/tinc. Ns Ar NETNAME Ns Pa .pid
167 The PID of the currently running
169 is stored in this file.
174 option may not work correctly.
176 .Sy The cryptography in tinc is not well tested yet. Use it at your own risk!
178 If you find any bugs, report them to tinc@nl.linux.org.
180 A lot, especially security auditing.
183 .Pa http://tinc.nl.linux.org/ ,
184 .Pa http://www.cabal.org/ .
186 The full documentation for tinc is maintained as a Texinfo manual.
187 If the info and tinc programs are properly installed at your site,
190 should give you access to the complete manual.
192 tinc comes with ABSOLUTELY NO WARRANTY.
193 This is free software, and you are welcome to redistribute it under certain conditions;
194 see the file COPYING for details.
196 .An "Ivo Timmermans" Aq ivo@o2w.nl
197 .An "Guus Sliepen" Aq guus@sliepen.eu.org
199 And thanks to many others for their contributions to tinc!