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

I can browse the internet by using a SOCKS proxy :

ssh -D 1080 myserver

I now want to set up a HTTP proxy server, and the server then sends the HTTP package to the SOCKS proxy. If this is possible, how?

I'm doing this with the hope that my iPhone could use my HTTP proxy.

myiPhone --> myComputer.HttpProxy --> MyComputer.SocksProxy --> SSHServer --> someWebSitesBlockedByGFW

share|improve this question

migrated from May 29 '11 at 14:23

This question came from our site for professional and enthusiast programmers.

There are three questions here: HTTP, SOCKS, and SSH. You seem utterly confused to me. You don't need both a local HTTP proxy and a local SSH proxy. –  EJP May 29 '11 at 11:14

4 Answers 4

Try privoxy.

All I have in my config is: forward-socks4a / .

share|improve this answer

You can use something like Tinyproxy, where the proxy is running on the remote host and you have an SSH tunnel to it (see ssh's manpage about ssh -L).

share|improve this answer

I'm using Bitvise Tunnelier to SSH to a server. It acts as a socks5 proxy. Polipo can bridge socks5 proxy and HTTP proxy, which means it speaks both sock5 and http language.

share|improve this answer

You wrote "HTTP proxy server, and the server then sends the HTTP package to the SOCKS proxy."

That makes no sense. An HTTP Proxy server would not communicate with a SOCKS Proxy(at least not directly anyway and if it was indirect it'd take a lot of manipulation).

But you can use both an SSH Server(with SSH -L not -D) and an HTTP Proxy.

Or you could use an SSH SOCKS server (-D), but without an HTTP Proxy.

A SOCKS Proxy would be forming a similar function to an HTTP Proxy, but with a different protocol. I can't see how you could use the two together. Besides the fact that it wouldn't be necessary to.

share|improve this answer

Your Answer


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