Skip to content

Instantly share code, notes, and snippets.

@toff63
Last active November 4, 2015 13:49
Show Gist options
  • Save toff63/688380cebe7315999b8f to your computer and use it in GitHub Desktop.
Save toff63/688380cebe7315999b8f to your computer and use it in GitHub Desktop.

SSH tunnel using putty

In the menu go to Connection -> SSH -> Tunnels

  • Select Dynamic below destination
  • Put 1024 as source port
  • Click on Add

Login.

SSH tunnel using ssh

ssh -D 1024 my-user@mybastion-server

Firefox config

In Advanced options, select the network tab and click on Connection configuration.

  • Select "Porxy manual configuration"
  • In SOCKS, enter localhost and in port 1024
  • Select SOCKS v4

Click on OK.

You should be able to connect to any host behind your bastion in firefox

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