I am trying to redirect terminal commands through Tor. However i get the following error when I want to check my public IP address.

$ curl https://ipinfo.io/ip
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to localhost:9051 

I have set proxy for terminal using these commands

$ export http_proxy=''    
$ export https_proxy=''

I have appended "HTTPTunnelPort 9051" to /etc/tor/torrc and restarted Tor service.

I have also checked to make sure 9051 port is open and listening.

$ sudo lsof -i -P -n | grep LISTEN 
tor       10757      debian-tor    6u  IPv4 120224      0t0  TCP (LISTEN)
tor       10757      debian-tor    7u  IPv4 120225      0t0  TCP (LISTEN)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.