yum install git
cd ~
git clone https://github.com/rofl0r/proxychains-ng.git
cd proxychains-ng
./configure && make && make install
make install-config
The proxy ip and port must be set before you are using proxychains. Edit proxychains configuration file
vim /usr/local/etc/proxychains.conf
Go to last line, replace this line
socks4 127.0.0.1 9050
to this
socks5 10.0.18.88 12345
Hit Esc
, type :WQ
& hit Enter
.
proxychains4 wget http://www.google.com