Search code examples
proxytor

TOR as HTTP proxy instead SOCKS


I want to try and use TOR as HTTP proxy, and not SOCKS proxy.
I have issues, where the destination blocks SOCKS and I want to try to check it with HTTP proxy instead.

I did not find any solution for running tor as HTTP proxy.

Thanks.


Solution

  • The easiest way is to add HTTPTunnelPort 9080 line in your /etc/tor/torrc file.

    After that you'll have localhost:9080 socket open and you can set http_proxy=http://localhost:9080 environment variable to tell applications to use it.