iTerm2 configure proxy

Today, I use shadowscoks to accelerate iTerm2 with global mode. But I found that iTerm2 not use shadowsocks either. So I found some method may help you to solve this problems.

socks proxy

1
export http_proxy=socks5://127.0.0.1:1080

http proxy

1
http_proxy=http://localhost:8035/

https proxy

1
https_proxy=http://localhost:8035/

Now, after you configure these proxy, you can judge it bycurl ifconfig.me. If it shows your proxy’s ip, and it means that you are success.