如何正确配置代理链?

如何正确配置代理链?

我按照网上的几个教程配置了代理链,这些教程几乎都是相同的,因为它们显示了使用 Tor 服务的配置。我遇到的问题是我的 DNS 以及我的真实 IP 地址都被泄露了。当我使用代理链启动 Firefox 时,谷歌有时会显示我在地球的另一端,但在提示输入验证码时仍然显示我的真实 IP 地址,有时它会显示我居住的城市。我做了一个DNS泄漏测试 也根本没有显示我的位置或网络提供商,但是我的 IP 地址是什么它显示了我的所有信息。我使用 Firefox,浏览器中没有额外的代理设置。我尝试使用免费代理,但它们中的每一个,无论是否是 HTTP、SOCKS4-5 都会超时。我真的不想使用免费代理,我宁愿使用 Tor 服务,但我无法让它正常工作。我使用的发行版是 Mint 20.3 (Una)。

proxychains.conf 文件:

# 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 9050

答案1

我是这里的新手,但我注意到一个拼写错误。当你写socks5 127.0.0.1 9050时,不要按socks5和127.0.0.1 9050之间的空格键,而应该按tab键。另外,我会评论“代理 DNS 请求 - DNS 数据不会泄漏”,并且只保留“proxy_dns”未注释。

我不知道这是否有帮助,但不久前我犯了同样的错误 - 当我注意到这一点并改变时,它对我有帮助!

相关内容