<div dir="ltr">Hello all, my apologies if I have failed to RTFM, but the PDF manual and google were no help.<div><br></div><div>I am trying to get a simple two node tunnel setup. I have verified that the up scripts bring up the interfaces as they are written; however my gut feeling is that there is something wrong there, but I am not sure exactly what.</div>
<div><br></div><div>Misc items:</div><div> * I have a Port line in horcrux because I ran INIT as a user, but I run tinc with sudo to access the tun device. </div><div> * Tinc is being ran as root on the linux box.</div>
<div> * I want the tunnel to be a <a href="http://192.168.13.0/24">192.168.13.0/24</a> network.</div><div><br></div><div>I would love to know more on how to troubleshoot this, but the tubes turn up nothing for the Error while processing ID message. They are both the same build (source downloaded and built, minutes apart from each other).</div>
<div><br></div><div>horcrux</div><div>OSX 10.9.2</div><div>IP: 10.0.1.70</div><div>VPN IP: 192.168.13.70</div><div><br></div><div>electrum</div><div>Ubuntu 12.04.3</div><div>IP 10.0.1.108</div><div>VPN IP 192.168.13.108</div>
<div><br></div><div>hosts/horcrux</div><div><div><font face="courier new, monospace">-----RSA PUBLIC KEY SNIPPED FROM POSTING-----</font></div><div><font face="courier new, monospace">ECDSAPublicKey = <snipped><br></font></div>
<div><font face="courier new, monospace">Port = 32096</font></div><div><font face="courier new, monospace">Subnet = <a href="http://192.168.13.0/24">192.168.13.0/24</a></font></div><div><font face="courier new, monospace">Address = 10.0.1.70</font></div>
</div><div><br></div><div>hosts/electrum</div><div><font face="courier new, monospace">-----RSA PUBLIC KEY SNIPPED FROM POSTING-----</font></div><div><font face="courier new, monospace">ECDSAPublicKey = <snipped></font></div>
<div><div><font face="courier new, monospace">Subnet = <a href="http://192.168.13.0/24">192.168.13.0/24</a></font></div><div><font face="courier new, monospace">Address = 10.0.1.108</font></div></div><div><font face="courier new, monospace"><br>
</font></div><div>horcrux/tinc-up</div><div><font face="courier new, monospace">ifconfig $INTERFACE 192.168.13.70 192.168.13.1 mtu 1500 netmask 255.255.255.255</font><br></div><div><br></div><div>electrum/tinc-up</div><div>
<font face="courier new, monospace">ifconfig $INTERFACE 192.168.13.108 netmask 255.255.255.0</font><br></div><div><br></div><div>electrum console output:<br></div><div><div><font face="courier new, monospace">$ tinc -n bat start -D --bypass-security -d5</font></div>
<div><font face="courier new, monospace">tincd 1.1pre10 (Mar 11 2014 20:55:22) starting, debug level 5</font></div><div><font face="courier new, monospace">/dev/net/tun is a Linux tun/tap device (tun mode)</font></div><div>
<font face="courier new, monospace">Listening on 0.0.0.0 port 655</font></div><div><font face="courier new, monospace">Listening on :: port 655</font></div><div><font face="courier new, monospace">Executing script tinc-up</font></div>
<div><font face="courier new, monospace">Ready</font></div><div><font face="courier new, monospace">Connection from 10.0.1.70 port 63525</font></div><div><font face="courier new, monospace">Sending ID to <unknown> (10.0.1.70 port 63525): 0 electrum 17.3</font></div>
<div><font face="courier new, monospace">Sending 16 bytes of metadata to <unknown> (10.0.1.70 port 63525)</font></div><div><font face="courier new, monospace">Got ID from <unknown> (10.0.1.70 port 63525): 0 horcrux 17.3</font></div>
<div><font face="courier new, monospace">Sending ACK to horcrux (10.0.1.70 port 63525): 4 655 0 300000c</font></div><div><font face="courier new, monospace">Sending 16 bytes of metadata to horcrux (10.0.1.70 port 63525)</font></div>
<div><font face="courier new, monospace">Handshake phase not finished yet</font></div><div><font face="courier new, monospace">Error while processing ID from horcrux (10.0.1.70 port 63525)</font></div><div><font face="courier new, monospace">Closing connection with horcrux (10.0.1.70 port 63525)</font></div>
</div><div><br></div><div>horcrux console output:</div><div><div><font face="courier new, monospace">$ sudo tinc -n bat start -D --bypass-security -d5</font></div><div><font face="courier new, monospace">tincd 1.1pre10 (Mar 11 2014 20:47:47) starting, debug level 5</font></div>
<div><font face="courier new, monospace">/dev/tun1 is a Generic BSD tun device</font></div><div><font face="courier new, monospace">Listening on 0.0.0.0 port 32096</font></div><div><font face="courier new, monospace">Listening on :: port 32096</font></div>
<div><font face="courier new, monospace">Executing script tinc-up</font></div><div><font face="courier new, monospace">Ready</font></div><div><font face="courier new, monospace">Trying to connect to electrum (10.0.1.108 port 655)</font></div>
<div><font face="courier new, monospace">Connected to electrum (10.0.1.108 port 655)</font></div><div><font face="courier new, monospace">Sending ID to electrum (10.0.1.108 port 655): 0 horcrux 17.3</font></div><div><font face="courier new, monospace">Sending 15 bytes of metadata to electrum (10.0.1.108 port 655)</font></div>
<div><font face="courier new, monospace">Got ID from electrum (10.0.1.108 port 655): 0 electrum 17.3</font></div><div><font face="courier new, monospace">Sending ACK to electrum (10.0.1.108 port 655): 4 32096 0 300000c</font></div>
<div><font face="courier new, monospace">Sending 18 bytes of metadata to electrum (10.0.1.108 port 655)</font></div><div><font face="courier new, monospace">Handshake phase not finished yet</font></div><div><font face="courier new, monospace">Error while processing ID from electrum (10.0.1.108 port 655)</font></div>
<div><font face="courier new, monospace">Closing connection with electrum (10.0.1.108 port 655)</font></div><div><font face="courier new, monospace">Could not set up a meta connection to electrum</font></div><div><font face="courier new, monospace">Trying to re-establish outgoing connection in 5 seconds</font></div>
<div><font face="courier new, monospace">^CGot Interrupt: 2 signal</font></div><div><font face="courier new, monospace">Closing connection with horcrux (MYSELF port 32096)</font></div><div><font face="courier new, monospace">Executing script tinc-down</font></div>
<div><font face="courier new, monospace">Terminating</font></div></div><div><br></div><div>As I said I have a hunch that my -up scripts are the culprit, but have tired many things to no avail. </div><div><br></div><div>Thank you for your time to look at this.</div>
<div><br></div></div>