![Dante socks 错误“本地客户端已关闭”和“0:本地客户端错误(对等方重置连接)”](https://linux22.com/image/900503/Dante%20socks%20%E9%94%99%E8%AF%AF%E2%80%9C%E6%9C%AC%E5%9C%B0%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%B7%B2%E5%85%B3%E9%97%AD%E2%80%9D%E5%92%8C%E2%80%9C0%EF%BC%9A%E6%9C%AC%E5%9C%B0%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%94%99%E8%AF%AF%EF%BC%88%E5%AF%B9%E7%AD%89%E6%96%B9%E9%87%8D%E7%BD%AE%E8%BF%9E%E6%8E%A5%EF%BC%89%E2%80%9D.png)
我已经安装并配置了 Dante 以在其上使用 Socks5。但是我仍然无法使用任何东西连接到它。我在 socks.log 文件中收到一堆不同的错误。我的 sockd.conf 文件如下:
logoutput: /var/log/socks.log
internal: ens160 port = 1085
external: ens160 port = 1085
socksmethod: none
user.privileged: root
user.notprivileged: nobody
client pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: error connect disconnect
}
client block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}
socks pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: error connect disconnect
}
socks block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}
这是我的日志的一部分:
May 11 17:19:04 (1526073544.856843) sockd[19202]: info: block(1): tcp/accept ]: 151.242.196.69.62400 142.54.179.81.1085: negotiate timeout after 31 seconds
May 11 17:19:05 (1526073545.664149) sockd[19202]: info: pass(1): tcp/accept [: 151.242.196.69.62422 142.54.179.81.1085
May 11 17:19:06 (1526073546.025996) sockd[19219]: info: pass(1): tcp/connect [: 151.242.196.69.62422 142.54.179.81.1085 -> 142.54.179.81.62422 149.154.175.50.443
May 11 17:19:06 (1526073546.261682) sockd[19202]: info: pass(1): tcp/accept [: 151.242.196.69.62423 142.54.179.81.1085
May 11 17:19:06 (1526073546.625768) sockd[19219]: info: pass(1): tcp/connect [: 151.242.196.69.62423 142.54.179.81.1085 -> 142.54.179.81.62423 149.154.175.50.443
May 11 17:19:07 (1526073547.738340) sockd[19202]: info: pass(1): tcp/accept [: 151.242.196.69.62427 142.54.179.81.1085
May 11 17:19:07 (1526073547.738474) sockd[19202]: info: block(1): tcp/accept ]: 151.242.196.69.62402 142.54.179.81.1085: negotiate timeout after 30 seconds
May 11 17:19:08 (1526073548.225382) sockd[19202]: info: block(1): tcp/accept ]: 151.242.196.69.62427 142.54.179.81.1085: error after reading 3 bytes in 1 second: eof from local client
May 11 17:19:08 (1526073548.225723) sockd[19202]: info: block(1): tcp/accept ]: 151.242.196.69.62403 142.54.179.81.1085: negotiate timeout after 30 seconds
May 11 17:19:15 (1526073555.399365) sockd[19202]: info: pass(1): tcp/accept [: 151.242.196.69.62434 142.54.179.81.1085
May 11 17:19:16 (1526073556.147912) sockd[19202]: info: pass(1): tcp/accept [: 151.242.196.69.62435 142.54.179.81.1085
May 11 17:19:18 (1526073558.359153) sockd[19202]: info: pass(1): tcp/accept [: 151.242.196.69.62436 142.54.179.81.1085
May 11 17:19:20 (1526073560.421618) sockd[19202]: info: block(1): tcp/accept ]: 151.242.196.69.62410 142.54.179.81.1085: negotiate timeout after 31 seconds
May 11 17:19:22 (1526073562.268207) sockd[19202]: info: pass(1): tcp/accept [: 151.242.196.69.62438 142.54.179.81.1085
May 11 17:19:22 (1526073562.385487) sockd[19202]: info: pass(1): tcp/accept [: 151.242.196.69.62437 142.54.179.81.1085
May 11 17:19:23 (1526073563.772540) sockd[19202]: info: pass(1): tcp/accept [: 151.242.196.69.62439 142.54.179.81.1085
May 11 17:19:23 (1526073563.882074) sockd[19219]: info: pass(1): tcp/connect ]: 0 -> 151.242.196.69.62313 142.54.179.81.1085 -> 0, 0 -> 142.54.179.81.62313 149.154.175.50.443 -> 0: local client error (Connection reset by peer). Session duration: 133s
May 11 17:19:23 (1526073563.882167) sockd[19219]: info: pass(1): tcp/accept ]: 0 -> 151.242.196.69.62313 142.54.179.81.1085 -> 0: local client error (Connection reset by peer). Session duration: 133s
May 11 17:19:25 (1526073565.344443) sockd[19202]: info: block(1): tcp/accept ]: 151.242.196.69.62439 142.54.179.81.1085: error after reading 3 bytes in 2 seconds: Connection reset by peer
你能帮我解决这个问题吗?