1

I am using kali-linux 2020.2 and I have configured /etc/proxychains.conf file like this

# proxychains.conf  VER 3.1
#
#        HTTP, SOCKS4, SOCKS5 tunneling proxifier with DNS.
#   

# The option below identifies how the ProxyList is treated.
# only one option should be uncommented at time,
# otherwise the last appearing option will be accepted
#
dynamic_chain
#
# Dynamic - Each connection will be done via chained proxies
# all proxies chained in the order as they appear in the list
# at least one proxy must be online to play in chain
# (dead proxies are skipped)
# otherwise EINTR is returned to the app
#
#strict_chain
#
# Strict - Each connection will be done via chained proxies
# all proxies chained in the order as they appear in the list
# all proxies must be online to play in chain
# otherwise EINTR is returned to the app
#
#random_chain
#
# Random - Each connection will be done via random proxy
# (or proxy chain, see  chain_len) from the list.
# this option is good to test your IDS :)

# Make sense only if random_chain
#chain_len = 2

# Quiet mode (no output from library)
#quiet_mode

# Proxy DNS requests - no leak for DNS data
proxy_dns 

# Some timeouts in milliseconds
tcp_read_time_out 15000
tcp_connect_time_out 8000

# ProxyList format
#       type  host  port [user pass]
#       (values separated by 'tab' or 'blank')
#
#
#        Examples:
#
#               socks5  192.168.67.78   1080    lamer   secret
#       http    192.168.89.3    8080    justu   hidden
#       socks4  192.168.1.49    1080
#           http    192.168.39.93   8080    
#       
#
#       proxy types: http, socks4, socks5
#        ( auth types supported: "basic"-http  "user/pass"-socks )
#
[ProxyList]
# add proxy here ...
# meanwile
# defaults set to "tor"
socks5  127.0.0.1   9050
socks4  127.0.0.1   9050

also i had tor installed and running while using proxychains here is the o/p of tor status

root@kali:~# service tor status
● tor.service - Anonymizing overlay network for TCP (multi-instance-master)
     Loaded: loaded (/lib/systemd/system/tor.service; disabled; vendor preset: disabled)
     Active: active (exited) since Sat 2020-06-13 19:33:10 UTC; 3s ago
    Process: 13092 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
   Main PID: 13092 (code=exited, status=0/SUCCESS)

Jun 13 19:33:10 kali systemd[1]: Stopped Anonymizing overlay network for TCP (multi-instance-master).
Jun 13 19:33:10 kali systemd[1]: Stopping Anonymizing overlay network for TCP (multi-instance-master)...
Jun 13 19:33:10 kali systemd[1]: Starting Anonymizing overlay network for TCP (multi-instance-master)...
Jun 13 19:33:10 kali systemd[1]: Finished Anonymizing overlay network for TCP (multi-instance-master).

but if i type proxychains firefox www.whatismyip.com i still get the same ip again and this is the o/p of the command

root@kali:~# proxychains firefox www.whatismyip.com
ProxyChains-3.1 (http://proxychains.sf.net)
root@kali:~#

any help is appriciated. Thanks

2
  • Your config seems reasonable enough. Are you sure it isn't firefox exiting? Try proxychains curl www.whatismyip.com. Also try changing the url to https://www.whatismyip.com, the non-https version seems to have no output. – apricot boy Jul 13 '20 at 2:39
  • I don't know what was the problem there but after restarting 2 to 3 times it was working as expected. – Lalit Vavdara Nov 23 '20 at 18:24
0

First, change the /etc/proxychains.conf config file (don't have both socks4 and socks5 at the same time):

socks5  127.0.0.1   9050
#socks4  127.0.0.1   9050

Next, before launching proxychains firefox www.whatismyip.com, close all instances of firefox that is already running (close all tabs and windows of firefox).

-1

try from an account other than root account. It worked for me

1
  • Any chance you would be able to say something about what the issue was and how your solution actually solved the problem? – Kusalananda Nov 19 '20 at 14:30

Not the answer you're looking for? Browse other questions tagged or ask your own question.