3

I have been trying to test it out, I've changed the ORPort and DirPort and forwarded them on the router but I keep getting the following messages.

pi@raspberrypi ~ $ tail -f /var/log/tor/logled--see warnings above.
tail: cannot open `/var/log/tor/log' for reading: No such file or directory
pi@raspberrypi ~ $ sudo service tor restart
[ ok ] Stopping tor daemon...done (not running - there is no /var/run/tor/tor.pid).
[....] Starting tor daemon...Jun 09 11:17:47.968 [warn] Could not bind to 127.0.0.1:9050: Cannot assign requested address
Jun 09 11:17:47.970 [warn] Could not bind to 127.0.0.1:9051: Cannot assign requested address
Jun 09 11:17:47.979 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
Jun 09 11:17:47.981 [err] Reading config failed--see warnings above.
failed.

How do I get it working and is it even advisable?

@Lizbeth I tried to change sockport to 0 and this the error I get

FAIL] Checking if tor configuration is valid ... failed!gi.com.au
Jun 10 16:54:12.724 [notice] Tor v0.2.4.27 (git-412e3f7dc9c6c01a) running on Linux with Libevent 2.0.19-stable and OpenSSL 1.0.1e.
Jun 10 16:54:12.726 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Jun 10 16:54:12.727 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc".
Jun 10 16:54:12.729 [notice] Read configuration file "/etc/tor/torrc".
Jun 10 16:54:12.778 [warn] Failed to parse/validate config: Unknown option 'SockPort'.  Failing.
Jun 10 16:54:12.788 [err] Reading config failed--see warnings above.
c3ypt1c
  • 57
  • 9
Hani Umer
  • 35
  • 4

2 Answers2

1

You can run as many of them as you wish : they're not interfering to each other. To ensure proper speed and connectivity make sure they have been separated by external IP's, that's it.

Alexey Vesnin
  • 6,385
  • 3
  • 15
  • 36
0

You've changed ORport and DirPort but you haven't changed SOCKSport. By default it listens on port 9050/TCP so you'll need to change this. I recommending setting it to 0 to disable it completely.

Lizbeth
  • 1,274
  • 6
  • 22