I’ve tried other http-tunnel programs, but this is truly the easiest one I’ve found and it doesn’t require server-side applications (such as are required by httptunnel , which is a good program otherwise). Furthermore, corkscrew works on every UNIX platform I’ve tried and even compiles and runs flawlessly under Cygwin on Windows.

Presuming no errors, corkscrew is now installed in /usr/local/bin on your machine. If you want to put it somewhere else, use the --prefix= _path_ flag to the configure script.

Add ProxyCommand to your SSH config file:

You may or may not have a configuration file for SSH already. It should be located in $HOME/.ssh/config and is a simple text file. Create one if it does not exist and add lines such as these to it:

Host * ProxyCommand corkscrew _http-proxy.example.com_ 8080 %h %p

… replacing _http-proxy.example.com_ with the name or address of your http proxy and possibly replacing 8080 with the port on which the proxy listens, which may be 80 or even some other port. The %h and %p will be replaced automatically by SSH with the actual destination host and port.