From 07db46a44feb283c1c17bcce918ab49274a3b11f Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 7 Oct 2002 07:32:31 +0000 Subject: [PATCH] Add documentation for BindToAddress. --- doc/tinc.conf.5 | 7 +++++++ doc/tinc.texi | 14 +++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/doc/tinc.conf.5 b/doc/tinc.conf.5 index 94b83ce4..db51eb68 100644 --- a/doc/tinc.conf.5 +++ b/doc/tinc.conf.5 @@ -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 diff --git a/doc/tinc.texi b/doc/tinc.texi index c3db80f9..3c597b32 100644 --- a/doc/tinc.texi +++ b/doc/tinc.texi @@ -1,5 +1,5 @@ \input texinfo @c -*-texinfo-*- -@c $Id: tinc.texi,v 1.8.4.32 2002/09/15 22:19:37 guus Exp $ +@c $Id: tinc.texi,v 1.8.4.33 2002/10/07 07:32:31 guus Exp $ @c %**start of header @setfilename tinc.info @settitle tinc Manual @@ -18,7 +18,7 @@ Copyright @copyright{} 1998-2002 Ivo Timmermans , Guus Sliepen and Wessel Dankers . -$Id: tinc.texi,v 1.8.4.32 2002/09/15 22:19:37 guus Exp $ +$Id: tinc.texi,v 1.8.4.33 2002/10/07 07:32:31 guus Exp $ Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are @@ -43,7 +43,7 @@ Copyright @copyright{} 1998-2002 Ivo Timmermans , Guus Sliepen and Wessel Dankers . -$Id: tinc.texi,v 1.8.4.32 2002/09/15 22:19:37 guus Exp $ +$Id: tinc.texi,v 1.8.4.33 2002/10/07 07:32:31 guus Exp $ Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are @@ -836,6 +836,14 @@ This option affects the address family of listening and outgoing sockets. If "any" is selected, then depending on the operating system both IPv4 and IPv6 or just IPv6 listening sockets will be created. +@cindex BindToAddress +@item BindToAddress =
[experimental] +If your computer has more than one IPv4 or IPv6 address, 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. + +This option may not work on all platforms. + @cindex BindToInterface @item BindToInterface = [experimental] If you have more than one network interface in your computer, tinc will -- 2.20.1