Skip to content

Instantly share code, notes, and snippets.

@ghalusa
Created April 9, 2015 17:34
Show Gist options
  • Save ghalusa/94e15418784796701552 to your computer and use it in GitHub Desktop.
Save ghalusa/94e15418784796701552 to your computer and use it in GitHub Desktop.
Dynamic Port Forwarding

To access a server, behind a firewall, via HTTP...

Use a server you have access to, as a proxy...

ssh -N -D 9000 user@server

Configure your web browser to use SOCKS proxy host 127.0.0.1 and port 9000.

On Mac OS X, go to System Preferences / Network / Advanced... / Proxies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment