A tutorial on the Linux system to convert Tor's SOCKS5 agent to HTTP proxy

Source: Internet
Author: User
Tags anonymous proxychains

You can use Tor services, such as Tor browsers, Foxyproxy, and other things with different Tor tools, such as wget and aria2, and download managers can't start anonymous downloads directly using Tor socks, so we need tools to socks Tor 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 8123-port and 127.0.0.1 IP address and uses the following command to install Polipo on the computer:

The code is as follows:

sudo apt install Polipo

Now open the Polipo configuration file using the following command:

The code is as follows:

sudo nano/etc/polipo/config

At the end of the file, add the following line:

The code is as follows:

proxyaddress = ":: 0"

Allowedclients = 192.168.1.0/24

Socksparentproxy = "localhost:9050"

Socksproxytype = SOCKS5

Restart the Polipo with the following command:

The code is as follows:

sudo service Polipo restart

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

The code is as follows:

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 agent, but in use it is a bit different from Polipo and Privoxy, it doesn't need any port! Install using the following command:

The code is as follows:

sudo apt install proxychains

Use this command to open the configuration file:

The code is as follows:

sudo nano/etc/proxychains.conf

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

The code is as follows:

SOCKS5 127.0.0.1 9050

If you add "proxychains" to the command and run it, it can run through the Tor agent:

The code is as follows:

Proxychains FIREFOXT

Proxychains aria2c

Proxychains wget

Privoxy

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

The code is as follows:

sudo apt install privoxy

We now want to modify the configuration file:

The code is as follows:

sudo nano/etc/pivoxy/config

Add the following line to the bottom of the file:

The code is as follows:

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:

The code is as follows:

sudo service privoxy restart

The service is already good! Port is 8118,ip is 127.0.0.1, use it!

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.