Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新到 2.5.0后,启用嗅探,部分面板如x-ui无法连接。关闭嗅探后,x-ui面板又能连接了。 #1140

Open
FlyRideR1986 opened this issue Jul 2, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@FlyRideR1986
Copy link

描述问题
请尽量清晰精准地描述你遇到的问题。

更新到 2.5.0后
启用嗅探,配合ACL和出战规则,
geosite:openai 走socks代理
其他直连

但是发现开启嗅探后,部分面板无法从过vps的ip地址登录,
例如x-ui面板。
其他像是cokpit的面板能够登录。

image

关门嗅探后,x-ui面板等又能打开了。

部分配置如下
sniff:
enable: true
timeout: 2s
rewriteDomain: false

outbounds:

  • name: direct
    type: direct
    direct:
    mode: 4
  • name: openai
    type: socks5
    socks5:
    addr: 127.0.0.1:37777

acl:
inline:
- openai(geosite:openai)
- direct(all)
geoUpdateInterval: 24h

系统 debian12

@FlyRideR1986 FlyRideR1986 added the bug Something isn't working label Jul 2, 2024
@tobyxdd
Copy link
Collaborator

tobyxdd commented Jul 5, 2024

服务端日志里显示什么错误?

@FlyRideR1986
Copy link
Author

FlyRideR1986 commented Jul 7, 2024

服务端日志里显示什么错误?

报错信息是:no such host

7月 07 09:13:00 clean-push-1.localdomain hysteria[313452]: 2024-07-07T09:13:00-07:00 WARN TCP error {"addr": "[我的客户端ip]:35166", "id": "user", "reqAddr": "[我的VPSip:20002]:20002", "error": "resolve error: lookup 我的VPSip:20002: no such host"}
7月 07 09:13:02 clean-push-1.localdomain hysteria[313452]: 2024-07-07T09:13:02-07:00 WARN TCP error {"addr": "[我的客户端ip]:35166", "id": "user", "reqAddr": "[我的VPSip:20002]:20002", "error": "resolve error: lookup 我的VPSip:20002: no such host"}
7月 07 09:13:08 clean-push-1.localdomain hysteria[313452]: 2024-07-07T09:13:08-07:00 WARN TCP error {"addr": "[我的客户端ip]:35166", "id": "user", "reqAddr": "[我的VPSip:20002]:20002", "error": "resolve error: lookup 我的VPSip:20002: no such host"}
7月 07 09:13:40 clean-push-1.localdomain hysteria[313452]: 2024-07-07T09:13:40-07:00 WARN TCP error {"addr": "[我的客户端ip]:35166", "id": "user", "reqAddr": "[我的VPSip:20002]:20002", "error": "resolve error: lookup 我的VPSip:20002: no such host"}

会不会因为x-ui是http,而cockpit是https所以导致的差异?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants