Skip to content

Instantly share code, notes, and snippets.

@laggage
Last active September 27, 2021 16:43
Show Gist options
  • Save laggage/bff4e222c534e775a2730c2b5262418c to your computer and use it in GitHub Desktop.
Save laggage/bff4e222c534e775a2730c2b5262418c to your computer and use it in GitHub Desktop.
配置终端开启代理
!#/bin/sh
export http_proxy=http://127.0.0.1:10809
export https_proxy=$http_proxy
export all_proxy=socks5://127.0.0.1:10808
export ALL_PROXY=$all_proxy
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$http_proxy
export no_proxy="127.0.0.1, localhost"
echo Enjoy the internet!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment