ssh – mjs.fyi Technology, Cyber Security, Digital Transformation, and Beer Sat, 15 Sep 2012 00:40:30 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.1 Need a quick proxy via SSH? /2012/09/need-a-quick-proxy-via-ssh/ /2012/09/need-a-quick-proxy-via-ssh/#respond Sat, 15 Sep 2012 00:40:30 +0000 http://linux.uits.uconn.edu/mas02041/?p=220 Need access to a web site, tucked behind a firewall?  Do you already have a public SSH server set up to allow access, but not sure how to tunnel your HTTP session?  It’s easy!

ssh -N -D 127.0.0.1:8000 <user>@<ssh server fqdn>

That command sets up a SOCKS4/SOCKS5 proxy.  Just configure your Browser/OS settings to use 127.0.0.1:8000 as a SOCKS proxy, and you can now access any site that your SSH server can reach.

]]>
/2012/09/need-a-quick-proxy-via-ssh/feed/ 0