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

OpwnWrt运行V2rayA后向日葵无法远程 #46

Closed
fzxlzy opened this issue May 2, 2024 · 3 comments
Closed

OpwnWrt运行V2rayA后向日葵无法远程 #46

fzxlzy opened this issue May 2, 2024 · 3 comments

Comments

@fzxlzy
Copy link

fzxlzy commented May 2, 2024

OpwnWrt运行V2rayA后向日葵无法远程其他电脑
请问如何配置可以使用向日葵

@aiamadeus
Copy link

aiamadeus commented Aug 20, 2024

参考 v2rayA/v2rayA#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'

@improve100
Copy link

我按你方法试了,还是用不了

@Fisummer
Copy link

我按你方法试了,还是用不了

我试了,可以,可能你操作有问题

@fzxlzy fzxlzy closed this as completed Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants