Mac OS 终端代理抓包方案

28 阅读1分钟

背景

代理端口为本地9090

设置代理

终端执行:

export https_proxy=http://127.0.0.1:9090;export http_proxy=http://127.0.0.1:9090;export all_proxy=socks5://127.0.0.1:9090

取消代理

unset https_proxy
unset http_proxy
unset all_proxy