Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

2 Answers 2

i do it exactly by privoxy also have look at http://lists.debian.org/debian-user/2011/01/msg00086.html
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

 
discard

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.