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


Solution 1:

Try privoxy. http://geeklad.com/google-chrome-socks-proxy-workaround

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

Solution 2:

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