X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=doc%2Ftinc.conf.5.in;h=560ae4799e9d2f4c422455a456316c563deff3b6;hp=fa6215330d03649d680831acbeabc0aa4f778e83;hb=535a55100bb77f107c85361e9f72a194e92bc8bc;hpb=b5e3bf1a85462f0c41638c11305d28f87af24395 diff --git a/doc/tinc.conf.5.in b/doc/tinc.conf.5.in index fa621533..560ae479 100644 --- a/doc/tinc.conf.5.in +++ b/doc/tinc.conf.5.in @@ -180,7 +180,7 @@ If you don't specify a host with won't try to connect to other daemons at all, and will instead just listen for incoming connections. -.It Va DecrementTTL Li = yes | no Po no Pc +.It Va DecrementTTL Li = yes | no Po no Pc Bq experimental When enabled, .Nm tinc will decrement the Time To Live field in IPv4 packets, or the Hop Limit field in IPv6 packets, @@ -394,6 +394,19 @@ while no routing table is managed. .It Va Name Li = Ar name Bq required This is the name which identifies this tinc daemon. It must be unique for the virtual private network this daemon will connect to. +The Name may only consist of alphanumeric and underscore characters. + +If +.Va Name +starts with a +.Li $ , +then the contents of the environment variable that follows will be used. +In that case, invalid characters will be converted to underscores. +If +.Va Name +is +.Li $HOST , +but no such environment variable exist, the hostname will be read using the gethostnname() system call. .It Va PingInterval Li = Ar seconds Pq 60 The number of seconds of inactivity that @@ -564,12 +577,11 @@ variables can be specified. Subnets can either be single MAC, IPv4 or IPv6 addresses, in which case a subnet consisting of only that single address is assumed, or they can be a IPv4 or IPv6 network address with a prefixlength. -Shorthand notations are not supported. For example, IPv4 subnets must be in a form like 192.168.1.0/24, where 192.168.1.0 is the network address and 24 is the number of bits set in the netmask. Note that subnets like 192.168.1.1/24 are invalid! Read a networking HOWTO/FAQ/guide if you don't understand this. -IPv6 subnets are notated like fec0:0:0:1:0:0:0:0/64. +IPv6 subnets are notated like fec0:0:0:1::/64. MAC addresses are notated like 0:1a:2b:3c:4d:5e. .Pp