I have been trying to test it out, I've changed the
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.