I have a WNR3500Lv2 router where I installed the Tomato driver. The TOR configuration window looks like this in the router GUI:
My problem that I don't want to enable TOR for anything else in my home network, just only when I making requests through it's proxy. How can I achieve this?
I want to check URLs through TOR:
$ curl --insecure -v --socks5 127.0.0.1:9050 https://check.torproject.org/
However this command returning this error:
* Trying 127.0.0.1...
* TCP_NODELAY set
* connect to 127.0.0.1 port 9050 failed: Connection refused
* Failed to connect to 127.0.0.1 port 9050: Connection refused
* Closing connection 0
curl: (7) Failed to connect to 127.0.0.1 port 9050: Connection refused
If I running the tor
command on the router, this is what I got:
Sep 14 18:49:31.283 [notice] Tor 0.2.9.10 (git-1f6c8eda0073f464) running on Linux with Libevent 2.0.22-stable, OpenSSL 1.0.2k and Zlib 1.2.11.
Sep 14 18:49:31.284 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Sep 14 18:49:31.285 [notice] Configuration file "/usr/etc/tor/torrc" not present, using reasonable defaults.
Sep 14 18:49:31.332 [notice] Opening Socks listener on 127.0.0.1:9050
Sep 14 18:49:31.333 [warn] Could not bind to 127.0.0.1:9050: Address already in use. Is Tor already running?
Sep 14 18:49:31.334 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
Sep 14 18:49:31.335 [err] Reading config failed--see warnings above.
I'm including the TOR config file from the router:
SocksPort 9050
AllowUnverifiedNodes middle,rendezvous
RunAsDaemon 1
Log notice syslog
DataDirectory /tmp/tor
TransPort 192.168.2.1:9040
DNSPort 192.168.2.1:9053
User nobody