Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm on a network with no internet access, but I have SSH access to a server that sits on my internal network, and the internet.

I would like certain programs to be able to access the internet, like windows update and my antivirus software etc.

If I install a proxy server on that server I can use the internet from my pc. But I don't want to do that.

Is there a way that I can configure a web browser and perhaps putty to let me "tunnel out?" through the server to the internet.

share|improve this question

migrated from stackoverflow.com Oct 18 '12 at 10:38

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

up vote 3 down vote accepted

Later versions of OpenSSH can be configured to act as a SOCKS proxy. Run the following command:

ssh -Dlocalhost:1080 host -N

And then instruct your network applications to use the SOCKS server listening at localhost:1080.

share|improve this answer

in PuTTY, go into the Tunnels page in your session settings. Set up a Dynamic forward (as opposed to Remote or Local). This is a SOCKS proxy. Any program that will allow the use of a SOCKS proxy will be able to use it as such.

share|improve this answer
    
I must be missing something here, because this simply does not work for me. What could be stopping it? – case1352 Oct 26 '12 at 2:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .