On Wed, Aug 31, 2016 at 10:47:01AM +0200, Armin wrote: > >You can set IndirectData = yes in hosts/office-2 on hosts/office-1, and > >vice versa, to prevent it from trying a direct connection. > > > >Note that you also should not have ConnectTo = office-2 in office-1's > >tinc.conf, and vice versa, otherwise the above will not have any effect. > > Understood. But this will keep tinc from doing direct only, but it may > use *any* other host to transfer the data, right?
Correct.
> I would like to set a specific host (with best connection) to be the
> 'man-in-the-middle'.
Then have the man-in-the-middle set "Weight = 0" in its host config
file. That will cause it to get a higher priority when deciding how to
route packets if there are multiple paths with the same number of hops.
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <[email protected]>
signature.asc
Description: Digital signature
_______________________________________________ tinc mailing list [email protected] https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
