how can we get a different tor circuit with torify command in a separate terminal window? Specifically, if I type a command in a terminal 1 window
torify curl http://icanhazip.com
I receive my IP address in response.
but if I try it in another terminal window simultaneously I get the same IP which is a normal behavior.
what I am trying to achieve is to use a different config file in every new terminal window so as to get a different IP address in a different terminal window.
Use the
-i
(--isolate
) option or--user
and--pass
to get stream isolation.From
man 1 torsocks
:Example:
Then, using a different set of credentials will get you a different circuit and exit relay:
You can achieve the same using Tor's socks proxy directly with curl, and specify a unique proxy username/password combination to get stream isolation as well.
Example:
Then, using a different set of credentials will get you a different circuit and exit relay: