使用此文演示如何在Mac系统中安装Privoxy软件,并将socks5协议转成http协议。
安装privoxy
brew install privoxy
往/usr/local/etc/privoxy/config
文件中添加如下两行
forward-socks5 / 127.0.0.1:1080 .
listen-address 127.0.0.1:1081
PS:1080为socks5协议,1081为转换后的http协议
启动privoxy服务
sudo /Applications/Privoxy/startPrivoxy.sh
查看privoxy
服务是否已经启动
ps -ef | grep privoxy
启动成功将看到如下类似结果
ps -ef | grep privoxy
502 1509 1 0 4:02下午 ?? 0:00.03 /usr/local/sbin/privoxy --no-daemon /usr/local/etc/privoxy/config
501 1620 99880 0 4:07下午 ttys020 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn privoxy
點擊查看更多內容
為 TA 點贊
評論
評論
共同學習,寫下你的評論
評論加載中...
作者其他優質文章
正在加載中
感謝您的支持,我會繼續努力的~
掃碼打賞,你說多少就多少
贊賞金額會直接到老師賬戶
支付方式
打開微信掃一掃,即可進行掃碼打賞哦