SSH Tunneling Tips: Now With More Awesome!


OK, that previous tip was pretty weak. Try this instead. Set up a SOCKS proxy and tunnel it through SSH!

Here’s how:

1. Open the SSH connection…
ssh -ND 8887 -p 22 rufus@83.27.411.896

2. Set your network to point to the proxy. On a Mac that would be…
a. Open Network Preferences…
b. Click Advanced…
c. Click Proxies…
d. Check the SOCKS Proxy box then in the SOCKS Proxy Server field enter localhost and the port you used (8887)
e. OK and Apply and you are done!

p.s. Bonus! You can enable gzip compression by setting the -C flag (ex. ssh -C -ND 8887 -p 22 rufus@83.27.411.896)

     
  1. No comments yet.
(will not be published)