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

ACL规则不生效 #915

Open
soapmancn opened this issue Jan 26, 2024 · 2 comments
Open

ACL规则不生效 #915

soapmancn opened this issue Jan 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@soapmancn
Copy link

问题
版本2.2.3

config配置如下
`acl:
inline:
- proxy(geosite:netflix)
- proxy(suffix:ip.gs)

outbounds:

  • name: final
    type: direct
  • name: proxy
    type: socks5
    socks5:
    addr: 127.0.0.1:40000`

outbounds只留proxy的情况下生效,走代理;加上final后所有流量不走代理

@soapmancn soapmancn added the bug Something isn't working label Jan 26, 2024
@tobyxdd
Copy link
Collaborator

tobyxdd commented Jan 26, 2024

通过日志检查一下你的请求是走的域名还是 IP。geosite 只能匹配域名请求

@zazitufu
Copy link

参考
#947 (comment)

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

3 participants