Define which host to use when direct link not possible?
Guus Sliepen
guus at tinc-vpn.org
Wed Aug 31 14:16:05 CEST 2016
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 <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20160831/7b7a6a0d/attachment.sig>
More information about the tinc
mailing list