gpt4 book ai didi

ubuntu - Dante 代理无法在 ubuntu 18.04 上运行,导致协商超时

转载 作者:行者123 更新时间:2023-12-04 18:33:14 25 4
gpt4 key购买 nike

我使用了本指南 https://gist.github.com/gpchelkin/c7d24a21639d1f120fb082d1801a5fe4在 ubuntu 18.04 上配置 Dante 服务器但是当我想从客户端连接时出现此错误

curl -v -x socks5://user:pass@server:1080 http://www.google.com
* Rebuilt URL to: http://www.google.com/
* Trying server-ip...
* TCP_NODELAY set
* SOCKS5 communication to www.google.com:80
* Unable to receive initial SOCKS5 response.
* Closing connection 0
curl: (7) Unable to receive initial SOCKS5 response.

而且在 Dante 日志中,我得到

Dec 03 09:12:56 danted[17829]: info: block(1): tcp/accept ]: client-ip.48601 server-ip.1080: negotiate timeout after 31 seconds

还有,我的配置是

logoutput: syslog
user.privileged: root
user.unprivileged: nobody
internal: 0.0.0.0 port = 1080
external: ens32
socksmethod: username
clientmethod: none
user.libwrap: nobody
client pass {
from: 0/0 to: 0/0
log: connect disconnect error
}
socks pass {
from: 0/0 to: 0/0
log: connect disconnect error
}

感谢帮助

最佳答案

Dante 和客户端之间可能有防火墙阻止数据,允许完成初始 TCP/IP 握手,但没有进一步的数据流动。

诊断可以通过在 Dante 中启用 Debug模式(“-d2”)并查看 Dante 日志文件,或使用 tcpdump(8) 或 wireshark(8) 来观察 Dante 接收和发送的网络数据包来完成。

关于ubuntu - Dante 代理无法在 ubuntu 18.04 上运行,导致协商超时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65127870/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com