SSH as Proxy
By chys on June 8th, 2009One of my favorite sites is inaccessible from my office (computer client hereinafter), for unknown reasons. But I can connect via SSH to a computer at another place (computer server hereinafter), where I can connect to that site. So it is necessary for me to use SSH tunnel as a proxy.
Steps:
1. Make sure compute server is running the SSH daemon;
2. Create an SSH tunnel by running ssh -C2TnN -D localhost:8080 username@server on computer client;
3. Use localhost:8080 as a SOCKS 5 proxy on computer client;
4. Have fun.
I need the proxy for only one or two sites, so I use FoxyProxy to automatically switch proxies.
References
[1] How to use ssh as a proxy server
[2] Proxy Firefox through a SSH tunnel
Related posts:
Leave a Reply
Hint: Register at Gravatar and your comments will be accompanied by your personalized icon.
