3 .\" Manual page created by:
11 .Op Fl -config Ns = Ns Ar DIR
12 .Op Fl -net Ns = Ns Ar NETNAME
13 .Op Fl -pidfile Ns = Ns Ar FILENAME
18 This is the control program of tinc, a secure virtual private network (VPN)
23 to alter and inspect the running VPN's state.
25 .Bl -tag -width indent
26 .It Fl n, -net Ns = Ns Ar NETNAME
27 Communicate with tincd(8) connected with
29 .It Fl -pidfile Ns = Ns Ar FILENAME
32 to authenticate with a running tinc daemon.
33 If unspecified, the default is
34 .Pa @localstatedir@/run/tinc. Ns Ar NETNAME Ns Pa .pid.
36 Display short list of options.
38 Output version information and exit.
40 .Sh ENVIRONMENT VARIABLES
41 .Bl -tag -width indent
43 If no netname is specified on the command line with the
45 option, the value of this environment variable is used.
49 .Bl -tag -width indent
51 Create initial configuration files and RSA and ECDSA keypairs with default length.
54 for this node is given, it will be asked for.
65 Partially rereads configuration files. Connections to hosts whose host
66 config files are removed are closed. New outgoing connections specified
71 Shows the PID of the currently running
73 .It generate-keys Op bits
74 Generate both RSA and ECDSA keypairs (see below) and exit.
75 .It generate-ecdsa-keys
76 Generate public/private ECDSA keypair and exit.
77 .It generate-rsa-keys Op bits
78 Generate public/private RSA keypair and exit.
81 is omitted, the default length will be 2048 bits.
82 When saving keys to existing files, tinc will not delete the old keys;
83 you have to remove them manually.
85 Dump a list of all known nodes in the VPN.
87 Dump a list of all known connections in the VPN.
89 Dump a list of all known subnets in the VPN.
91 Dump a list of all meta connections with ourself.
93 Dump a graph of the VPN in
97 Purges all information remembered about unreachable nodes.
102 Capture log messages from a running tinc daemon.
103 An optional debug level can be given that will be applied only for log messages sent to
108 to try to connect to all uplinks immediately.
111 attempts to do this itself,
112 but increases the time it waits between the attempts each time it failed,
115 didn't succeed to connect to an uplink the first time after it started,
116 it defaults to the maximum time of 15 minutes.
117 .It disconnect Ar NODE
118 Closes the meta connection with the given
123 is compiled with libcurses support, this will display live traffic statistics
124 for all the known nodes, similar to the UNIX
127 See below for more information.
129 Dump VPN traffic going through the local tinc node in
131 format to standard output,
132 from where it can be redirected to a file or piped through a program that can parse it directly,
137 Examples of some commands:
138 .Bd -literal -offset indent
139 tincctl -n vpn dump graph | circo -Txlib
140 tincctl -n vpn pcap | tcpdump -r -
144 The top command connects to a running tinc daemon and repeatedly queries its per-node traffic counters.
145 It displays a list of all the known nodes in the left-most column,
146 and the amount of bytes and packets read from and sent to each node in the other columns.
147 By default, the information is updated every second.
148 The behaviour of the top command can be changed using the following keys:
151 Change the interval between updates.
154 key, enter the desired interval in seconds, followed by enter.
155 Fractional seconds are honored.
156 Intervals lower than 0.1 seconds are not allowed.
158 Toggle between displaying current traffic rates (in packets and bytes per second)
159 and cummulative traffic (total packets and bytes since the tinc daemon started).
161 Sort the list of nodes by name.
163 Sort the list of nodes by incoming amount of bytes.
165 Sort the list of nodes by incoming amount of packets.
167 Sort the list of nodes by outgoing amount of bytes.
169 Sort the list of nodes by outgoing amount of packets.
171 Sort the list of nodes by sum of incoming and outgoing amount of bytes.
173 Sort the list of nodes by sum of incoming and outgoing amount of packets.
175 Show amount of traffic in bytes.
177 Show amount of traffic in kilobytes.
179 Show amount of traffic in megabytes.
181 Show amount of traffic in gigabytes.
186 If you find any bugs, report them to tinc@tinc-vpn.org.
191 .Xr pcap-savefile 7 ,
194 .Pa http://www.tinc-vpn.org/ ,
195 .Pa http://www.cabal.org/ .
197 The full documentation for tinc is maintained as a Texinfo manual.
198 If the info and tinc programs are properly installed at your site,
201 should give you access to the complete manual.
203 tinc comes with ABSOLUTELY NO WARRANTY.
204 This is free software, and you are welcome to redistribute it under certain conditions;
205 see the file COPYING for details.
208 .An "Guus Sliepen" Aq guus@tinc-vpn.org
210 And thanks to many others for their contributions to tinc!