Convert Tor socks to HTTP proxy

Source: Internet
Author: User
Tags learn php php tutorial proxychains

You can use Tor services with different Tor tools, such as Tor Browser, Foxyproxy, and other things, and download managers like wget and aria2 can't use Tor socks to start anonymous downloads, so we need some tools to get Tor socks Convert it to an HTTP proxy so that it can be downloaded.

Note : This tutorial is based on Debian, and other distributions are somewhat different, so if your distribution is based on Debian, you can use the following configuration directly.

Polipo

This service uses the IP address of Port 8123 and 127.0.0.1 and uses the following command to install Polipo on the computer:

sudo apt install Polipo

Now open the Polipo configuration file using the following command:

sudo nano/etc/polipo/config

Add the following line at the end of the file:

proxyaddress = ":: 0"

Allowedclients = 192.168.1.0/24

Socksparentproxy = "localhost:9050"

Socksproxytype = SOCKS5

Use the following command to restart the Polipo:

sudo service Polipo restart

Now the POLIPO is installed! Do what you want to do in the anonymous world! The following are examples of use:

Pdmt-l "link"-I 127.0.01-p 8123

The above command pdmt (Persian downloader terminal) will download your files anonymously.

Proxychains

In this service you can set up to use Tor or Lantern proxy, but on the use it and Polipo and Privoxy a little different, it does not need to use any port! Use the following command to install:

sudo apt install proxychains

Use this command to open the configuration file:

sudo nano/etc/proxychains.conf

Now add the following code to the bottom of the file, here is the Tor port and IP:

SOCKS5 127.0.0.1 9050

If you add "Proxychains" to the front of the command and run it, it will be able to run through the Tor proxy:

Proxychains FIREFOXT

Proxychains aria2c

Proxychains wget

Privoxy

The Privoxy uses 8118 ports and can be easily installed through the Privoxy package:

sudo apt install privoxy

We will now modify the configuration file:

sudo nano/etc/pivoxy/config

Add the following line to the bottom of the file:

forward-socks5/127.0.0.1:9050.

forward-socks4a/127.0.0.1:9050.

forward-socks5t/127.0.0.1:9050.

Forward 192.168.*.*/.

Forward 10.*.*.*/.

Forward 127.*.*.*/.

Forward localhost/.

Restart Service:

sudo service privoxy restart

The service is ready! Port is 8118,ip is 127.0.0.1, use it!

free brother Lian original CD/" detail php http:// Www.lampbrother.net

learn PHP, Linux, HTML5, UI, Android and other video tutorials (Courseware + notes + video)! Contact Q878769237

Welcome to join PHP Communication Group 176362750


Convert Tor socks to HTTP proxy

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.