Skip to content

Instantly share code, notes, and snippets.

@bancek
Created October 20, 2019 15:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bancek/1026a576aaecc06ec5f752a57747b711 to your computer and use it in GitHub Desktop.
Save bancek/1026a576aaecc06ec5f752a57747b711 to your computer and use it in GitHub Desktop.
SSH reverse SOCKS5 proxy
$ 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