Skip to content

Instantly share code, notes, and snippets.

@frgomes
Last active September 13, 2019 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frgomes/12fa3055cd911fe0da09c53512c89a3d to your computer and use it in GitHub Desktop.
Save frgomes/12fa3055cd911fe0da09c53512c89a3d to your computer and use it in GitHub Desktop.
Bash - Firefox via SSH tunnel
# create a SSH tunnel between 127.0.0.1:18080 <--> internal.example.com:8080
$ ssh -L 127.0.0.1:18080:internal.example.com:8080 username@router.example.com
# open Firefox on the local computer, which will send and receive data via the SSH tunnel
$ firefox http://127.0.0.1:18080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment