Created
October 25, 2010 19:47
-
-
Save lamberta/645597 to your computer and use it in GitHub Desktop.
On the fly socks5 proxy with ssh
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
#dynamic port forwarding, binds a socket on the local machine | |
ssh -D 8080 user@host | |
#tunnel through proxy examples | |
chromium-browser --proxy-server="socks5://localhost:8080" | |
curl --socks5 localhost:8080 url | |
#most apps should recognize this | |
export HTTP_PROXY="socks5://localhost:8080" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment