login about faq

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%20KB's gravatar image

SSH KB ♦
509249246237


To create dynamic local port forwarding for Web browsing (HTTP connections), issue the following command:

ssh2 -L socks/1234 user@ssh_server

  1. Configure your browser to use "firewall" on localhost port 1234.

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

link

answered Dec 29 '10 at 19:57

SSH%20KB's gravatar image

SSH KB ♦
509249246237

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×7
×2

Asked: Dec 29 '10 at 19:57

Seen: 2,944 times

Last updated: Mar 10 '11 at 02:22

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.