Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to change Socks5 Agent of Tor into HTTP Agent in Linux system

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to turn Tor's Socks5 agent into HTTP agent in Linux system". The explanation in this article is simple and clear and easy to learn and understand. Please follow the editor's train of thought to study and learn "how to turn Tor's Socks5 agent into HTTP agent in Linux system".

Polipo

The service uses port 8123 and the IP address of 127.0.0.1, using the following command to install Polipo on the computer:

The code is as follows:

Sudo apt install polipo

Now open the configuration file for Polipo using the following command:

The code is as follows:

Sudo nano / etc/polipo/config

Add the following line at the end of the file:

The code is as follows:

ProxyAddress = ":: 0"

AllowedClients = 192.168.1.0 Compact 24

SocksParentProxy = "localhost:9050"

SocksProxyType = socks5

Restart Polipo with the following command:

The code is as follows:

Sudo service polipo restart

Now Polipo is installed! Do what you want in an anonymous world! The following is an example of use:

The code is as follows:

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

Use the above command PDMT (Persian downloader terminal) to download your files anonymously.

Proxychains

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

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, here is the port and IP of Tor:

The code is as follows:

Socks5 127.0.0.1 9050

If you precede the command with "proxychains" and run it, it can be run through the Tor agent:

The code is as follows:

Proxychains firefoxt

Proxychains aria2c

Proxychains wget

Privoxy

Privoxy uses port 8118, which can be easily installed through the privoxy package:

The code is as follows:

Sudo apt install privoxy

We will now modify the configuration file:

The code is as follows:

Sudo nano / etc/pivoxy/config

Add the following line at 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.room.resume /.

Forward 10.9 /.

Forward 127.00 /.

Forward localhost/.

Restart the service:

The code is as follows:

Sudo service privoxy restart

The service is ready! The port is 8118 and the IP is 127.0.0.1, so please feel free to use it.

Thank you for your reading, the above is the content of "how to turn Tor's Socks5 agent into HTTP agent in Linux system". After the study of this article, I believe you have a deeper understanding of how to turn Tor's Socks5 agent into HTTP agent in Linux system. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report