Need a quick proxy via SSH?
- Sep
- 14
- Posted by TKH Specialist
- Posted in linux, ssh
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.
Recent Comments
- Stefan on Flush This!
- Timestamping your Bash History | Matt's Entropy on Remember when you issued that command…?
- Matt Smith on Remember when you issued that command…?
- Ruan on Putting ‘lsof’ to use
- Dylan F. Marquis on External Mapping of LDAP attributes in CAS