X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=doc%2Ftinc.conf.5;h=db51eb683f57ba67cd5e58e6fc96ae26be82435f;hp=78d9b74b80c7889014c10cefb3e55092c9db6eae;hb=07db46a44feb283c1c17bcce918ab49274a3b11f;hpb=89a2f761a6d8ae4912c2dd2e9178589001487ef5 diff --git a/doc/tinc.conf.5 b/doc/tinc.conf.5 index 78d9b74b..db51eb68 100644 --- a/doc/tinc.conf.5 +++ b/doc/tinc.conf.5 @@ -1,8 +1,8 @@ -.Dd 2002-02-06 +.Dd 2002-04-09 .Dt TINC.CONF 5 .\" Manual page created by: -.\" Ivo Timmermans -.\" Guus Sliepen +.\" Ivo Timmermans +.\" Guus Sliepen .Sh NAME .Nm tinc.conf .Nd tinc daemon configuration @@ -106,6 +106,13 @@ If .Qq any is selected, then depending on the operating system both IPv4 and IPv6 or just IPv6 listening sockets will be created. +.It Va BindToAddress Li = Ar address Bq experimental +If your computer has more than one IPv4 or IPv6 address, +.Nm tinc +will by default listen on all of them for incoming connections. +It is possible to bind only to a single address with this variable. +.Pp +This option may not work on all platforms. .It Va BindToInterface Li = Ar interface Bq experimental If your computer has more than one network interface, .Nm tinc @@ -129,7 +136,7 @@ If you don't specify a host with .Nm tinc won't try to connect to other daemons at all, and will instead just listen for incoming connections. -.It Va Device Li = Ar device Po /dev/tap0 or /dev/misc/net/tun Pc +.It Va Device Li = Ar device Po /dev/tap0 or /dev/net/tun Pc The virtual network device to use. .Nm tinc will automatically detect what kind of device it is. @@ -264,7 +271,7 @@ the above two options then are not necessary. Either the PEM format is used, or exactly one of the above two options must be specified 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 masklength +.It Va Subnet Li = Ar address Ns Op Li / Ns Ar prefixlength 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. @@ -276,7 +283,7 @@ variables can be specified. .Pp 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 masklength. +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. @@ -290,8 +297,6 @@ then the packets are tunnelled over the TCP connection instead of a UDP connecti This is especially useful for those who want to run a tinc daemon from behind a masquerading firewall, or if UDP packet routing is disabled somehow. -This is experimental code, try this at your own risk. -It may not work at all. Setting this options also implicitly sets IndirectData. .El .Sh FILES