3 .\" Manual page created by:
5 .\" Guus Sliepen <guus@tinc-vpn.org>
12 .Op Fl -config Ns = Ns Ar DIR
14 .Op Fl -debug Ns Op = Ns Ar LEVEL
15 .Op Fl -net Ns = Ns Ar NETNAME
17 .Op Fl -logfile Ns Op = Ns Ar FILE
18 .Op Fl -bypass-security
20 .Op Fl -user Ns = Ns Ar USER
24 This is the daemon of tinc, a secure virtual private network (VPN) project.
27 will read it's configuration file to determine what virtual subnets it has to serve
28 and to what other tinc daemons it should connect.
29 It will connect to the ethertap or tun/tap device
30 and set up a socket for incoming connections.
31 Optionally a script will be executed to further configure the virtual device.
33 it will detach from the controlling terminal and continue in the background,
34 accepting and setting up connections to other tinc daemons
35 that are part of the virtual private network.
36 Under Windows (not Cygwin) tinc will install itself as a service,
37 which will be restarted automatically after reboots.
39 .Bl -tag -width indent
40 .It Fl c, -config Ns = Ns Ar DIR
41 Read configuration files from
44 .Pa @sysconfdir@/tinc/ .
46 Don't fork and detach.
47 This will also disable the automatic restart mechanism for fatal errors.
48 If not mentioned otherwise, this will show log messages on the standard error output.
49 .It Fl d, -debug Ns Op = Ns Ar LEVEL
50 Increase debug level or set it to
53 .It Fl n, -net Ns = Ns Ar NETNAME
56 This will let tinc read all configuration files from
57 .Pa @sysconfdir@/tinc/ Ar NETNAME .
62 is the same as not specifying any
65 Lock tinc into main memory.
66 This will prevent sensitive data like shared private keys to be written to the system swap files/partitions.
67 .It Fl -logfile Ns Op = Ns Ar FILE
68 Write log entries to a file instead of to the system logging facility.
71 is omitted, the default is
72 .Pa @localstatedir@/log/tinc. Ns Ar NETNAME Ns Pa .log.
73 .It Fl -controlcookie Ns = Ns Ar FILENAME
81 is omitted, the default is
82 .Pa @localstatedir@/run/tinc. Ns Ar NETNAME Ns Pa .cookie.
83 .It Fl -bypass-security
84 Disables encryption and authentication of the meta protocol.
85 Only useful for debugging.
87 With this option tinc chroots into the directory where network
88 config is located (@sysconfdir@/tinc/NETNAME if -n option is used,
89 or to the directory specified with -c option) after initialization.
90 .It Fl U, -user Ns = Ns Ar USER
91 setuid to the specified
95 Display short list of options.
97 Output version information and exit.
100 .Bl -tag -width indent
102 Partially rereads configuration files.
103 Connections to hosts whose host config file are removed are closed.
104 New outgoing connections specified in
109 option is used, this will also close and reopen the log file,
110 useful when log rotation is used.
112 Temporarily increases debug level to 5.
113 Send this signal again to revert to the original level.
115 Dumps the connection list to syslog.
117 Dumps virtual network device statistics, all known nodes, edges and subnets to syslog.
119 Purges all information remembered about unreachable nodes.
122 The tinc daemon can send a lot of messages to the syslog.
123 The higher the debug level,
124 the more messages it will log.
125 Each level inherits all messages of the previous level:
126 .Bl -tag -width indent
128 This will log a message indicating
130 has started along with a version number.
131 It will also log any serious error.
133 This will log all connections that are made with other tinc daemons.
135 This will log status and error messages from scripts and other tinc daemons.
137 This will log all requests that are exchanged with other tinc daemons. These include
138 authentication, key exchange and connection list updates.
140 This will log a copy of everything received on the meta socket.
142 This will log all network traffic over the virtual private network.
145 .Bl -tag -width indent
146 .It Pa @sysconfdir@/tinc/
147 Directory containing the configuration files tinc uses.
148 For more information, see
150 .It Pa @localstatedir@/run/tinc. Ns Ar NETNAME Ns Pa .pid
151 The PID of the currently running
153 is stored in this file.
158 option may not work correctly.
160 .Sy The cryptography in tinc is not well tested yet. Use it at your own risk!
162 If you find any bugs, report them to tinc@tinc-vpn.org.
164 A lot, especially security auditing.
168 .Pa http://www.tinc-vpn.org/ ,
169 .Pa http://www.cabal.org/ .
171 The full documentation for tinc is maintained as a Texinfo manual.
172 If the info and tinc programs are properly installed at your site,
175 should give you access to the complete manual.
177 tinc comes with ABSOLUTELY NO WARRANTY.
178 This is free software, and you are welcome to redistribute it under certain conditions;
179 see the file COPYING for details.
182 .An "Guus Sliepen" Aq guus@tinc-vpn.org
184 And thanks to many others for their contributions to tinc!