小池有话说

bash 翻墙

2015-04-03

bash 中这样翻墙

function start_fanqiang {
  export http_proxy='http://127.0.0.1:1080'
  export HTTPS_PROXY='https://127.0.0.1:1080'
}

cmd 中这样翻墙

set http_proxy=http://127.0.0.1:1080
set https_proxy=https://127.0.0.1:1080