Use SSH to Create an HTTP Proxy
SOCKS is built in to OpenSSH, so it's a trivial matter to set up a local SOCKS proxy with the -D flag. For example:
$ ssh -D 12345 myuser@remote_ssh_server
will open up the port 12345 on your local machine as a SOCKS proxy so all your HTTP traffic can be specified to go through the SSH tunnel and out remote_ssh_server on the other end. Your proxy server is now set up.
Next, set up your browser to use the proxy server. Most browsers include proxy support. For Firefox 3, go to Edit→Preferences→Advanced→Network→Settings, and specify that you want to use a Manual Proxy, localhost, port 12345 and SOCKS v5 (although OpenSSH supports both versions 4 and 5).
Now your browser is using a secure tunnel to your remote SSH server.
- Readers' Choice Awards 2013
- Mars Needs Women
- RSS Feeds
- Sublime Text: One Editor to Rule Them All?
- December 2013 Issue of Linux Journal: Readers' Choice
- Raspberry Pi: the Perfect Home Server
- IBM Will Minimize Impact of Future Disasters
- Linux Systems Administrator
- Tech Tip: Really Simple HTTP Server with Python
- Senior Perl Developer
- So girls had it better ?
3 hours 17 min ago
- Reply to comment | Linux Journal
3 hours 37 min ago
- why is GNOME 3 in the fifth position at 14.1 %?
9 hours 9 min ago
- Sublime Is Brilliant!
14 hours 12 min ago
14 hours 32 min ago
- Rapid[Disk,Cache] better than native ram caching?
14 hours 57 min ago
- Nothing is perfect
15 hours 10 min ago
- Mixtapes Community
20 hours 49 min ago
- KDE is one true DE
21 hours 23 min ago
- Command Line Shells (Bash, Zsh, etc.) are 2nd place
21 hours 52 min ago