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:
Now open the Polipo configuration file using the following command:
sudo nano/etc/polipo/config
At the end of the file, add the following line:
proxyaddress = ":: 0"
Allowedclients = 192.168.1.0/24
Socksparentproxy = "localhost:9050"
Socksproxytype = SOCKS5
Restart the Polipo with the following command:
sudo service Polipo restart
Now the POLIPO has been installed! Do what you want to do in the world of anonymity! The following examples are used:
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 the use of Tor or lantern agent, but in 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, which is the Tor port and IP:
If you add "proxychains" to the command and run it, it can run through the Tor agent:
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:
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 good! The port is 8118,ip is 127.0.0.1, use it heartily!