X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=doc%2Ftinc.conf.5.in;h=b3b94f8f668eea70bfbb94bebe4ab44483433410;hp=0ad3da3de8d3c2361dc007560f861dae21ca646d;hb=ec316aa32e8567395a88c4583007f01ffae008ce;hpb=a5f899a9794f215e8174455ead04862a2c14a5b1 diff --git a/doc/tinc.conf.5.in b/doc/tinc.conf.5.in index 0ad3da3d..b3b94f8f 100644 --- a/doc/tinc.conf.5.in +++ b/doc/tinc.conf.5.in @@ -1,4 +1,4 @@ -.Dd 2008-12-22 +.Dd 2009-03-05 .Dt TINC.CONF 5 .\" Manual page created by: .\" Ivo Timmermans @@ -394,7 +394,7 @@ Either the PEM format is used, or exactly one of the above two options must be s in each host configuration file, if you want to be able to establish a connection with that host. -.It Va Subnet Li = Ar address Ns Op Li / Ns Ar prefixlength +.It Va Subnet Li = Ar address Ns Op Li / Ns Ar prefixlength Ns Op Li # Ns Ar weight The subnet which this tinc daemon will serve. .Nm tinc tries to look up which other daemon it should send a packet to by searching the appropriate subnet. @@ -416,6 +416,13 @@ 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. MAC addresses are notated like 0:1a:2b:3c:4d:5e. +.Pp +A Subnet can be given a weight to indicate its priority over identical Subnets +owned by different nodes. The default weight is 10. Lower values indicate +higher priority. Packets will be sent to the node with the highest priority, +unless that node is not reachable, in which case the node with the next highest +priority will be tried, and so on. + .It Va TCPOnly Li = yes | no Pq no If this variable is set to yes, then the packets are tunnelled over the TCP connection instead of a UDP connection.