Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

tsocks is using LD_PRELOAD environment variable to inject into other applications.

I can only access to internet via a HTTPS proxy, however tsocks only supports socks proxy.

So is there any alternative support HTTPS proxy like proxifier for windows?

share|improve this question

i do it exactly by privoxy also have look at
got a better one: proxychains , believe me, it is the exact alternative of proxifier

share|improve this answer

When you are talking about command line programs, most of them respect https_server environment. You can do the following:

  1. Open .bashrc in your home directory (In case you're using another shell, you should open their rc file.)
  2. Enter the line export https_server=https://SERVERADDR:PORT where SERVERADDR is the IP address or hostname of your proxy server and PORT is the port.
  3. Save the file and type source $HOME/.bashrc. This loads your changes into the current shell.

Now you are able to use the environment variable and every request goes through the HTTPS server.

There might some cases where he environment variable not works. Here you should use iptables to redirect your requests.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.