Skip to content

Instantly share code, notes, and snippets.

@4xx
Last active July 16, 2016 07:28
Show Gist options
  • Save 4xx/69701d76d8a293d93e77 to your computer and use it in GitHub Desktop.
Save 4xx/69701d76d8a293d93e77 to your computer and use it in GitHub Desktop.
ALL_PROXY=socks://
export NO_PROXY=localhost,127.0.0.0/8,::1
export ALL_PROXY=socks://127.0.0.0:8080/
export HTTP_PROXY=http://127.0.0.0:8080/
export HTTPS_PROXY=127.0.0.0:8080/
export FTP_PROXY=127.0.0.0:8080/
export SOCK_PROXY=socks://127.0.0.0:8080/
// remove proxy
unset http_proxy;
unset ftp_proxy;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment