X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=doc%2Ftinc.texi;h=dd7bc6250013289f6a43a54b1900f2da10c9447b;hp=091b5e7a0e50f3692722b6f92f39b5d9c32e6e05;hb=74653beb5bc510e60579058ee15c0f66350f5137;hpb=95a6974de173e0cb78611c6704ed09631d510dae diff --git a/doc/tinc.texi b/doc/tinc.texi index 091b5e7a..dd7bc625 100644 --- a/doc/tinc.texi +++ b/doc/tinc.texi @@ -818,8 +818,15 @@ Tinc will expect packets read from the virtual network device to start with an Ethernet header. @end table +@cindex DirectOnly +@item DirectOnly = (no) [experimental] +When this option is enabled, packets that cannot be sent directly to the destination node, +but which would have to be forwarded by an intermediate node, are dropped instead. +When combined with the IndirectData option, +packets for nodes for which we do not have a meta connection with are also dropped. + @cindex Forwarding -@item Forwarding = (internal) +@item Forwarding = (internal) [experimental] This option selects the way indirect packets are forwarded. @table @asis @@ -1341,7 +1348,7 @@ Address = 1.2.3.4 Note that the IP addresses of eth0 and tap0 are the same. This is quite possible, if you make sure that the netmasks of the interfaces are different. -It is in fact recommended to give give both real internal network interfaces and tap interfaces the same IP address, +It is in fact recommended to give both real internal network interfaces and tap interfaces the same IP address, since that will make things a lot easier to remember and set up. @@ -1364,8 +1371,8 @@ ConnectTo = BranchA @end example Note here that the internal address (on eth0) doesn't have to be the -same as on the tap0 device. Also, ConnectTo is given so that no-one can -connect to this node. +same as on the tap0 device. Also, ConnectTo is given so that this node will +always try to connect to BranchA. On all hosts, in @file{@value{sysconfdir}/tinc/company/hosts/BranchB}: