Dynamic proxychain dont work

Hi!

I am needing to scan a website with dirb (Legally) but the website there are a firewall that blocks my IP, so i need to use a proxy…

I have a lot of machines that i can connect by SSH using the -D [port] to proxy.
So i want that when a proxie in my proxies list are blocked the proxychains jump to another proxy

I configured my proxychains to Dynamic_chains, but it dont work how we suposed to work
I have 5 ssh in this ports to -D, 9999, 9998, 9997, 9996, 9995

So i configures in that way

# 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"
#socks4 	127.0.0.1 9050
socks5	127.0.0.1	9999
socks5	127.0.0.1	9998
socks5	127.0.0.1	9997
socks5	127.0.0.1	9996
socks5	127.0.0.2	9995

what is wrong? or there are another program that does what i need?

hey @cazueirobr

Ensure you are using proxychains4 and not proxychains. Proxychain4 works ontop of tor by default, so you will need to have tor installed and started using
sudo apt install tor -y.
sudo service tor start

you can also use the surface net or paid/free proxy servers. Here are some I use with the right format:

socks5 127.0.0.1 1080
http 124.167.20.48 7777
http 54.67.125.45 3128

#This design allows my traffic use tor for the first line as well as the surface net in a random chain of 2, but would work for your dynamic configurations too as one needs to be online to play.

I use this site also for various proxy servers: 📄 Free Proxy List - Updated every 5 minutes.

I did notice most free online proxy does not support https/socks5(secure) and its sock4/http(unsecure) and unstable. Paid is advisable in that regards

Ifa or Annonsurf avoids this hassle tho if you want to use tor network only.

Best regards,

Atreus Odin