Socket5 转 http

2021-12-12  本文已影响0人  rushui

Socket5 转 http

brew install privoxy

vim /opt/homebrew/etc/privoxy/config
注释掉:
listen-address localhost:8118

新增:

forward-socks5t / 127.0.0.1:1081 .
listen-address 0.0.0.0:8118

命令行使用代理:
export http_proxy=http://0.0.0.0:8118;export https_proxy=http://0.0.0.0:8118;

上一篇 下一篇

猜你喜欢

热点阅读