Could you provide user instructions for setting up dynamic tunneling for HTTP (proxy) by using the command line client?
asked Dec 29 '10 at 19:57
SSH KB ♦
To create dynamic local port forwarding for Web browsing (HTTP connections), issue the following command:
ssh2 -L socks/1234 user@ssh_server
In Internet Explorer go to Tools -> Internet Options -> Connections and click the LAN Settings option. Set the check box to use a proxy server and then click the Advanced button. Define the Socks proxy address as localhost and port 1234.
In Netscape go to Edit -> Preferences... -> Advanced -> Proxies and choose Manual proxy configuration. Set SOCKS Host address localhost and port 1234.
After this, any connections created by the browser will be forwarded securely up to the ssh_server and from there unencrypted to the destination host and port, as specified in the URL of your browser.
Note that connections to Web servers that are beyond a real firewall on the ssh_server side of the network are not possible. Instead configure your browser to use the localhost "firewall" for domains that are in the same network with ssh_server host and to connect directly to the Internet for other domains
answered Dec 29 '10 at 19:57
SSH KB ♦