Mac

Mac 命令行ss

2018-07-11  本文已影响0人  Joeyczz

1、安装privoxy

2、配置privoxy

vim /usr/local/etc/privoxy/config

listen-address 0.0.0.0:8118

forward-socks5 / localhost:1080 .

3、启动privoxy

sudo /usr/local/sbin/privoxy /usr/local/etc/privoxy/config

4、检查是否成功

netstat -na | grep 8118

5、使用

export http_proxy='http://localhost:8118'

export https_proxy='http://localhost:8118'

unset http_proxy

unset https_proxy

curl ip.cn

上一篇 下一篇

猜你喜欢

热点阅读