Mac converts socks5 proxy to http/https Proxy

Source: Internet
Author: User

Mac converts socks5 proxy to http/https Proxy

GFW is lucky, pip is not busy, and it only supports http proxy.

The ss proxy is socks and listens to port 1080. So I used the privoxy tool to convert socks to http.

Download: http://download.csdn.net/detail/u010211892/8413677

After installation

/Usr/local/etc/privoxy/config file

Reference http://blog.newnaw.com /? P = 616 segments

Modify the Privoxy configuration file, find the line "listen-address", and change it to "listen-address 127.0.0.1: 6060", which is the port of the http Proxy you need; find the line "forward-socks5", remove the comment mark #, and change this line to "forward-socks5/127.0.0.1: 7070. ", 7070 is the port of the socks proxy. Restart Privoxy. Enter 127.0.0.1: 6060 In the ie proxy to access the Internet.

Then

Cd/usr/local/sbin/privoxy

Start

$./Privoxy -- no-daemon/usr/local/etc/privoxy/config

2015-02-01 00:25:09. 632 000001a8 Info: Privoxy version 3.0.23

2015-02-01 00:25:09. 632 000001a8 Info: Program name:./privoxy


Uncompetitive pip:

Pip -- proxy 127.0.0.1: 8010 install-r requirements.txt


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.