Skip to content

Instantly share code, notes, and snippets.

@pahud
Created November 19, 2015 01:06
Show Gist options
  • Save pahud/f99b94642f6c34c0df05 to your computer and use it in GitHub Desktop.
Save pahud/f99b94642f6c34c0df05 to your computer and use it in GitHub Desktop.
run AWS CLI via polipo to forward http proxy to socks5 proxy
# run polipo in daemon mode
$ sudo polipo socksParentProxy=localhost:1080 daemonise=true

# alias the aws cmd or set in your ~/.bash_profile
$ alias aws='HTTPS_PROXY=http://127.0.0.1:8123 /usr/local/bin/aws'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment