?

Log in

No account? Create an account
entries friends calendar profile My Website Previous Previous Next Next
Usefulness of ssh -D - Mark Atwood
fallenpegasus
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.
1 comment or Leave a comment
Comments
zanfur From: zanfur Date: October 9th, 2008 03:49 am (UTC) (Link)
I did that during my brief stint as a contractor at MS. I was fired for using SSH to "circumvent the firewall". They called it a "hacking tool". No joke.
1 comment or Leave a comment