wget thru tor network – how to? Easy!
Looks like common task – run wget via tor. No? Just me?
Apparently, when You google it, it send You to forums, man pages, or whatever workarounds possible, because wget don’t support SOCKS proxy natively, and Tor is not HTTP\HTTPS proxy.
As a matter of fact, it’s easy ![]()
We’ll need tor and proxychains to accomplish our goal
1. Add Tor repository if You not done this yet:
https://www.torproject.org/docs/rpms.html.en
2. Then install tor and proxychains
$ sudo yum install tor proxychains
3. Start tor service
$ sudo service tor start
4. Check that proxychains config contain proper string for folowing data to Tor network
$ sudo nano /etc/proxychains.conf
in the bottom verify that line is present, if not – add it.
socks4 127.0.0.1 9050
5. test the config:
$ proxychains wget http://whoer.net/extended
and open extended page in any html viewer, check what IP logged. ![]()
Working.