Created
October 1, 2014 17:02
-
-
Save lucasgonze/9880502a396bcd113108 to your computer and use it in GitHub Desktop.
Tunnel incantation
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
When I'm on an open wifi network, I use an SSH tunnel to encrypt my traffic. Here's my script: | |
#!/bin/bash | |
ssh -D 9999 [email protected] " | |
echo ' | |
**** | |
Establishing ssh tunnel... | |
Now open | |
Firefox-> | |
Preferences-> | |
Advanced-> | |
Network-> | |
Connection-> | |
Settings-> | |
Manual-> | |
SOCKS host-> | |
localhost:9999 | |
(And leave this window open!) | |
*** | |
' | |
echo 'Press ENTER to terminate this tunnel' | |
read | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment