Stay anonymous - How To Setup Proxychains

Proxychains is a series of proxies that gives you anonymity in any operations performed. It not only gives you anonymity in browser but also gives you anonymity in any operations like nmap scan , sql injection , brute forcing etc.
how to setup proxychains

Proxychains are already installed on the all pen-testing distros of linux . Here I'm using Kali Linux So Let's get started,

Configure the Proxychains by editing the configuration file saved in '/etc/proxychains.conf/'.
For this we use the following command
nano /etc/proxychains.conf
proxychains configuration file editing
proxychains configuration file editing

Here all the lines are starting with a '#' symbol because it is considered as comment which means anything you written after the '#' not considered.
You can see here,
  • Dynamic chain
  • Strict chain
  • Random chain
These 3 chains consist of different properties. Details of chain is described below in the conf file.
To activate a chain you need to remove the '#' from the starting of the chain name.

Here random_chain is activated. Using this it will take a random proxy.
random_chain is not a good option because it take random proxies which may or may not work.
So we can check. First save the conf file by pressing ctrl + O.
proxycahins configuration

To work proxychains first we need to start tor service.
service tor start
start tor service


Now start proxychains service as the following example

proxychains firefox
proxychains example
It will open firefox with proxychains. we can check for dns leaks to understand that we are anonymous or not.
dnsleaks

Here is the dnsleaks report which shows different ip from UK. but I'm not from UK ,So it is worked.
Now you can check the other chains (dynamic and strict) . I recommend you to use Dynamic chain.
If you have any doubts contact me in my fb page.