Last active
September 13, 2019 13:30
-
-
Save frgomes/12fa3055cd911fe0da09c53512c89a3d to your computer and use it in GitHub Desktop.
Bash - Firefox via SSH tunnel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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