<html><head></head><body>Indeed it depends, tinc will have a port listening for incoming connections(both tcp and udp), if A have exposed its listening ports, a direct connection will be tried to build between the nodes, otherwise it will go from the intermediate node.<br> <br><div class="bloop_sign"><div>-- <br>Narcissus Emi</div></div> <p class="gmail_quote" style="color:#000">日時: 2017年5月1日   15:12:16, Bright Zhao (<a href="mailto:startryst@gmail.com">startryst@gmail.com</a>) が書きました::</p> <blockquote type="cite" class="gmail_quote"><span><div style="word-wrap:break-word" class=""><div></div><div>



<title></title>


H, Narcissus
<div class=""><br class=""></div>
<div class="">Quick one for the below case, if node A have a direct
connection to node B, and node B have a connection to node X, then
I found node A will be able to talk to node X, but the
communication path is go through node B, instead of build direct
connection between A and X, is that right? I tested this in my
environment.</div>
<div class=""><br class=""></div>
<div class="">A >> B >> X</div>
<div class=""><br class=""></div>
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">On 1 May 2017, at 3:07 PM, Narcissus Emi <<a href="mailto:eminarcissus@gmail.com" class="">eminarcissus@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">X-up is being called when any connection is being
built between node A and node X, it doesn't have anything to do
whether you have connectTo in the config file or not.
<div class="">Because tinc is a mesh network, if node A have a
direct connection to node B, and node B have a connection to node
X, you can have a connection between A and X, and X-up is being
called at the moment when it built a connection on
demand.<br class="">
<br class="">
<div class="bloop_sign">
<div class="">-- <br class="">
Narcissus Emi</div>
</div>
<p class="gmail_quote" style="">日時: 2017年5月1日 14:15:14, Bright Zhao
(<a href="mailto:startryst@gmail.com" class="">startryst@gmail.com</a>) が書きました::</p>
<blockquote type="cite" class="gmail_quote"><span class=""></span>
<div class=""><span class=""></span>
<div class=""><span class=""></span></div>
<div class=""><span class="">Hi, Tinc Expert<br class="">
<br class="">
in my tinc.conf, the ConnectTo to host X is commented, like
below:<br class="">
<br class="">
#ConnectTo = X<br class="">
<br class="">
and there is a script: /etc/tinc/netname/hosts/X-up, I thought
commented the ConnectTo X wouldn’t trigger the X-up, but it
did.<br class="">
<br class="">
Why? What’s the logic behind to trigger host-up? How can I avoid
this except remove the host-up file?<br class="">
<br class="">
<br class="">
Bright Zhao<br class="">
_______________________________________________<br class="">
tinc mailing list<br class="">
<a href="mailto:tinc@tinc-vpn.org" class="">tinc@tinc-vpn.org</a><br class="">
<a href="https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc" class="">https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc</a><br class="">
</span></div>
</div>
</blockquote>
</div>
</div>
_______________________________________________<br class="">
tinc mailing list<br class="">
<a href="mailto:tinc@tinc-vpn.org" class="">tinc@tinc-vpn.org</a><br class="">
<a href="https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc">https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc</a><br class=""></div>
</blockquote>
</div>
<br class=""></div>


_______________________________________________<br>tinc mailing list<br><a href="mailto:tinc@tinc-vpn.org">tinc@tinc-vpn.org</a><br><a href="https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc">https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc</a><br></div></div></span></blockquote></body></html>