Created
October 20, 2019 15:43
-
-
Save bancek/1026a576aaecc06ec5f752a57747b711 to your computer and use it in GitHub Desktop.
SSH reverse SOCKS5 proxy
This file contains hidden or 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
$ ssh -R 1080 host | |
$ curl -k --socks5 localhost https://not-reachable-from-host | |
$ HTTP_PROXY=socks5://localhost:1080 ./someotherbinary https://not-reachable-from-host |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment