Skip to content

Instantly share code, notes, and snippets.

@jbonney
Created August 31, 2013 10:28
Show Gist options
  • Select an option

  • Save jbonney/6397413 to your computer and use it in GitHub Desktop.

Select an option

Save jbonney/6397413 to your computer and use it in GitHub Desktop.
# Tunnel: allow to use localhost:2525 as if it was server.com:25
ssh -f user@server.com -L 2525:server.com:25 -N
# SOCKS Proxy: configure web browser to use SOCKS proxy on localhost:8080
ssh -D 8080 -C user@server.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment