Tor behind proxy

Published: by

Installing tor

Debian

sudo apt install tor

Fedora

sudo yum install tor

Setting up proxy environment

From man tor

HTTPProxy host[:port]
HTTPProxyAuthenticator username:password
HTTPSProxy host[:port]
HTTPSProxyAuthenticator username:password

add these lines to file /etc/tor/torrc

Restart the tor service

sudo service tor restart