鍍金池/ 問答/iOS  網(wǎng)絡(luò)安全/ iterm2如何翻墻?

iterm2如何翻墻?

iterm2無法翻墻

系統(tǒng)版本

clipboard.png

嘗試

polipo和proxychains-ng都不行了,
還有export http_proxy="xxx"

如果想回答上面的朋友,麻煩你們看下你們看下你們終端curl google.com能訪問嗎?curl ip.cn是哪里的ip.還有不用回答shadowsocks開全局,也用上面測試下你們的終端能不能翻墻!!!

求真正知道的大佬回答

回答
編輯回答
巫婆

方法一

mac關(guān)閉SIP保護(hù),polipo和proxychains-ng就可以用

方法二

全局掛代理

# 代理
#export ALL_PROXY=socks5://127.0.0.1:1086
# 取消代理
#unset ALL_PROXY
2017年9月25日 09:36
編輯回答
久愛她

shadowsocks 一般會自帶一個http proxy。如果沒有的話,可以安裝

npm install -g http-proxy-to-socks

然后,執(zhí)行

hpts -p 2080

之后只要配置環(huán)境變量即可

export http_proxy=http://localhost:2080
export https_proxy=http://localhost:2080
2017年4月7日 19:39