Closed fzxlzy closed 3 weeks ago
参考 https://github.com/v2rayA/v2rayA/discussions/1361
添加自定义 hook vi /etc/v2raya/core-hook.sh
#!/bin/sh
echo hook
jq '.inbounds[] |= if (.tag | index("transparent") >= 0) then (.sniffing.domainsExcluded = ["regexp:^[a-z0-9-.]*(?:oray|sunlogin)[a-z.]*$"]) else . end' /etc/v2raya/config.json > /etc/v2raya/temp.json
mv /etc/v2raya/temp.json /etc/v2raya/config.json
chmod +x /etc/v2raya/core-hook.sh
启用 hook vi /etc/config/v2raya
:
option core_hook '/etc/v2raya/core-hook.sh'
我按你方法试了,还是用不了
我按你方法试了,还是用不了
我试了,可以,可能你操作有问题
OpwnWrt运行V2rayA后向日葵无法远程其他电脑 请问如何配置可以使用向日葵