hysteria icon indicating copy to clipboard operation
hysteria copied to clipboard

ACL规则不生效

Open soapmancn opened this issue 1 year ago • 2 comments

问题 版本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 avatar Jan 26 '24 13:01 soapmancn

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

tobyxdd avatar Jan 26 '24 18:01 tobyxdd

参考 https://github.com/apernet/hysteria/discussions/947#discussioncomment-8553351

zazitufu avatar May 17 '24 08:05 zazitufu