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

link|improve this question
1  
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
feedback

migrated from stackoverflow.com May 29 '11 at 14:23

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

1 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).

link|improve this answer
feedback

Your Answer

 
or
required, but never shown