Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

On my computer, I have a direct connection to the internet, But, I also have a different connection on my computer which is a https proxy running on a certain port.

On windows, I can access that proxy using proxifier & now I need a way to use that same proxy in linux.

Till now, I have already tried directly setting mozilla firefox ssl proxy and http proxy but no success. I also tried setting https_proxy but that also didnt help.

More info about proxy:

shadyabhi@archlinux ~ $ telnet 8080
Connected to
Escape character is '^]'.
connect HTTP/1.1

HTTP/1.0 200 Connection established

EDIT: I basically want to know how to use proxy. Also, pls see the https part of this page

Now, I need help as I am stuck.

share|improve this question

migrated from Jul 2 '11 at 18:16

This question came from our site for system and network administrators.

up vote 0 down vote accepted

Install stunnel, configure it,

client  = yes
accept  =<localport>
connect = <proxyserver>:<port>

then set http_proxy to<localport> (where localport can be any unused port in the 1024..65535 range).

This way, your programs will see a plain HTTP proxy while stunnel will handle the SSL layer.

  • client program ↔ stunnel [←Internet→] proxy server
share|improve this answer
btw, I tried that configuration and tried to use it as http proxy, it says "The connection was reset". Also, pls have a look at – Abhijeet Rastogi Jul 3 '11 at 2:09

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.