WHEN TO USE IT?
1) When the only way to get "outside" from your LAN is through proxy server.
2) To get out from behind restrictive firewall which filters outgoing ports.
3) To use two (or more) proxies in chain: like: your_host <--> proxy1 <--> proxy2 <--> target_host
4) To "proxify" some program with no proxy support built-in (like telnet)
5) Access intranet from outside via proxy.
6) To use DNS behind proxy.
7) To access hidden tor onion services.
PRE-REQUSITES
1. GCC
# yum install gcc
2. GIT
# yum install git
INSTALLATION
# git clone https://github.com/rofl0r/proxychains-ng.git
# cd proxychains-ng
# ./configure
# make && make install
# ./tools/install.sh -D -m 644 libproxychains4.so /usr/local/lib/libproxychains4.so
# make install-config
# ./tools/install.sh -D -m 644 src/proxychains.conf /usr/local/etc/proxychains.conf
CONFIGURE PROXYCHAINS.CONF
# vi /usr/local/etc/proxychains.conf
# Add below at the end of file.
http proxy_ip proxy_port username password # http will cover http & https
socks4 proxy_ip proxy_port username password
socks5 proxy_ip proxy_port username password
USE PROXYCHAINS
# proxychains4 wget https://google.com