我的代理链配置为
strict_chain
proxy_dns
http 172.16.20.2 3128
因为我可以通过 访问互联网172.16.20.2:3128
。但是运行代理链给我带来了以下错误
root@kali:~# proxychains apt-get update
ProxyChains-3.1 (http://proxychains.sf.net)
0% [Working]|DNS-request| http.kali.org
0% [Connecting to http.kali.org]|S-chain|-<>-172.16.20.2:3128-<><>-4.2.2.2:53-<--denied
|DNS-response|: http.kali.org does not exist
Ign:1 http://http.kali.org/kali kali-rolling InRelease
0% [Working]^C
那么,出了什么问题呢?我怀疑我的代理链没有任何问题,因为它在 tor 上运行,但不在172.16.20.2:3128
.172.16.20.2:3128
在我的浏览器上运行良好,那么是什么阻止它在代理链上运行呢?
答案1
相当肯定您会想要注释掉“strict_chain”,然后删除“dynamic_chain”上的注释。就像这样..
# proxychains.conf VER 4
# 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