<div dir="ltr">Sorry. I've just noticed that the ORPort that it's checking doesn't actually match what I've shown in my torrc file.  That's just the result of me playing with different port numbers and then not copying the correct results into my message.<div>Tor is definitely binding the ORPort to the correct port number, and it's trying to verify the correct port number as well.  It's only the IP address that's being an issue.</div><div><br></div><div>I should point out out that I have also tried configuring the DirListenAddress / ORPortListenAddress options as well (despite it saying that they've now been depreciated), and it hasn't made any difference to what's happening.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 8 January 2016 at 23:39, David Tomic <span dir="ltr"><<a href="mailto:david@tomic.com.au" target="_blank">david@tomic.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Hello everyone.</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Long story short I have just begun experimenting with running multiple Tor instances on a couple of my servers, namely to see if it actually makes an appreciable difference to my overall throughput.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I have multiple public IPs on my servers, and I would like each Tor instance to use its own dedicated address so I have configured the appropriate ip:port addresses in my second torrc file.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">When I start up the second instance, everything gets bound to the correct ip:port combinations (as specified in my torrc file), and I have no problems getting Tor to bootstrap and successfully open a circuit.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The problem appears when Tor tries to verify that my ORPort/DirPort are reachable, because for some reason it's trying to check the wrong IP address?  </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">EG - Here are the relevant ports from my torrc file:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>SocksPort 9053</div><div>ControlPort 9063</div><div>Log notice file /var/log/tor/notices3.log</div><div>RunAsDaemon 1</div><div>DataDirectory /var/lib/tor/3</div><div><br></div><div>ORPort <a href="http://50.7.178.99:445/" target="_blank">50.7.178.99:445</a></div><div>DirPort <a href="http://50.7.178.99:83/" target="_blank">50.7.178.99:83</a></div><div><br></div></div><div style="font-size:12.8px">When I start Tor, everything matches the above:</div><div style="font-size:12.8px"><div>Jan 08 11:56:23.178 [notice] Opening Socks listener on <a href="http://127.0.0.1:9053/" target="_blank">127.0.0.1:9053</a></div><div>Jan 08 11:56:23.179 [notice] Opening Control listener on <a href="http://127.0.0.1:9063/" target="_blank">127.0.0.1:9063</a></div><div>Jan 08 11:56:23.179 [notice] Opening OR listener on <a href="http://50.7.178.99:445/" target="_blank">50.7.178.99:445</a></div><div>Jan 08 11:56:23.179 [notice] Opening Directory listener on <a href="http://50.7.178.99:83/" target="_blank">50.7.178.99:83</a></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Tor successfully bootstraps and establishes a circuit:</div><div style="font-size:12.8px"><div>Jan 08 11:57:13.000 [notice] Bootstrapped 90%: Establishing a Tor circuit</div><div>Jan 08 11:57:13.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working.</div><div>Jan 08 11:57:13.000 [notice] Bootstrapped 100%: Done</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">BUT THEN ...</div><div style="font-size:12.8px">Jan 08 11:57:13.000 [notice] Now checking whether ORPort <a href="http://50.7.178.102:444/" target="_blank">50.7.178.102:444</a> and DirPort <a href="http://50.7.178.102:83/" target="_blank">50.7.178.102:83</a> are reachable... (this may take up to 20 minutes -- look for log messages indicating success)</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Notice that it's still checking the correct port from the torrc file, but not the correct ip address.  I've tried different IP:port combinations, and each time it's the same result.  Right port, wrong IP.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I've tried now on two different servers, and had exactly the same results each time.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Machines are running Debian 8.0 with Tor 0.2.7.6.  I have tried installing from the Debian repo, as well as building from the latest source.  No difference.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">What's causing this to go wrong?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Is there something incredibly simple which I'm simply just not doing properly, or is there possibly more going on here than first meets the eye?</div></div>
</blockquote></div><br></div>