簡體   English   中英

Dante 代理無法在 ubuntu 18.04 上運行,導致協商超時

[英]Dante proxy not working on ubuntu 18.04 give negotiation timeout

I used this guide https://gist.github.com/gpchelkin/c7d24a21639d1f120fb082d1801a5fe4 to configure Dante server on ubuntu 18.04 but when I want to connect from the client I get this error

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.

在但丁日志中,我得到

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 中啟用調試模式(“-d2”)並查看 Dante 日志文件,或者使用 tcpdump(8) 或 wireshark(8) 來查看 Dante 接收和發送的網絡數據包。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM