Mark Atwood (fallenpegasus) wrote,
Mark Atwood
fallenpegasus

Usefulness of ssh -D

If you are ever stuck behind an outbound firewall, or someplace where you don't trust the local network, here is a neat hack.

From a command prompt, do ssh -D 8080 user@host to some host you can ssh to, that you do trust.

Then go to your network settings, and set a SOCKS proxy at localhost:8080

Now all your SOCKS aware applications, like your web browser, mail client, and IM client, will tunnel their traffic to that machine, and the local network and local outbound firewall can only see a single opaque ssh connection.
Subscribe

  • Razors

    I'm getting ads for I think five different "all metal" "get the best shave of your life" "throw away the plastic" razor startups. They all seem to be…

  • Doing what needs to be done

    On May 1st, one of my co-residents found one of the feral rabbits that live in the area cuddled up against a corner of the house. It was seriously…

  • The CTO of Visa, after listening to me present

    Some years ago, I was asked to travel to the corporate meeting center to present at a presentation-fest to the CxO staff of Visa. Yes, the one with…

  • Post a new comment

    Error

    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment