Skip to content

Instantly share code, notes, and snippets.

@ohmerhe
Created December 18, 2017 03:03
Show Gist options
  • Save ohmerhe/7146df5da71cf0570e83dbd82080e8f1 to your computer and use it in GitHub Desktop.
Save ohmerhe/7146df5da71cf0570e83dbd82080e8f1 to your computer and use it in GitHub Desktop.
#proxy
alias openTProxy="export http_proxy='http://127.0.0.1:8123/' \
export https_proxy='http://127.0.0.1:8123/' \
export ftp_proxy='http://127.0.0.1:8123/' \
export no_proxy='localhost,127.0.0.1,localaddress,.localdomain.com' \
export HTTP_PROXY='http://127.0.0.1:8123/' \
export HTTPS_PROXY='http://127.0.0.1:8123/' \
export FTP_PROXY='http://127.0.0.1:8123/' \
export NO_PROXY='localhost,127.0.0.1,localaddress,.localdomain.com' \
polipo socksParentProxy=127.0.0.1:1080"
alias closeTProxy="export http_proxy= \
export https_proxy= \
export ftp_proxy= \
export no_proxy= \
export HTTP_PROXY= \
export HTTPS_PROXY= \
export FTP_PROXY= \
export NO_PROXY= "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment