X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=inline;f=doc%2Ftinc.texi;h=b207a93fbaeb021b3ef73093d578f2a16c4bdaed;hb=d8ea66ff1fc68ca9ea672727b0274663df6f4866;hp=fc0d475ab80c5b2bd45dae9134c735c94cd1644c;hpb=3e924045ccaab1441b77ff43a2d7eb759b313f7b;p=tinc diff --git a/doc/tinc.texi b/doc/tinc.texi index fc0d475a..b207a93f 100644 --- a/doc/tinc.texi +++ b/doc/tinc.texi @@ -793,6 +793,9 @@ The actual configuration of the daemon is done in the file @file{@value{sysconfdir}/tinc/@var{netname}/tinc.conf} and at least one other file in the directory @file{@value{sysconfdir}/tinc/@var{netname}/hosts/}. +An optionnal directory @file{@value{sysconfdir}/tinc/@var{netname}/conf.d} can be added from which +any .conf file will be read. + These file consists of comments (lines started with a #) or assignments in the form of @@ -1194,6 +1197,8 @@ traffic. When this option is enabled tinc will only use Subnet statements which are present in the host config files in the local @file{@value{sysconfdir}/tinc/@var{netname}/hosts/} directory. +Subnets learned via connections to other nodes and which are not +present in the local host config files are ignored. @cindex TunnelServer @item TunnelServer = (no) [experimental] @@ -2148,13 +2153,19 @@ Be sure to include the following information in your bugreport: @node Controlling tinc @chapter Controlling tinc -You can control and inspect a running tincd through the tinc +You can start, stop, control and inspect a running tincd through the tinc command. A quick example: @example tinc -n @var{netname} reload @end example +If tinc is started without a command, it will act as a shell; it will display a +prompt, and commands can be entered on the prompt. If tinc is compiled with +libreadline, history and command completion are available on the prompt. One +can also pipe a script containing commands through tinc. In that case, lines +starting with a # symbol will be ignored. + @menu * tinc runtime options:: * tinc environment variables:: @@ -2354,7 +2365,7 @@ tinc -n vpn pcap | tcpdump -r - tinc -n vpn top @end example -Example of configuring tinc using the tinc command: +Examples of changing the configuration using tinc: @example tinc -n vpn init foo