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

[Bug]: 以非root账号启动时,添加路由规则无效,网速显示失效 #6173

Open
2 tasks done
lfxx opened this issue Nov 27, 2024 · 10 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@lfxx
Copy link

lfxx commented Nov 27, 2024

预期情况

添加路由规则有效,网速显示有效

实际情况

1.路由规则无效问题:
在添加了对应的域名直连后,依然会走代理
2.打开网速显示开关后,右下角无变化

当使用sudo重新打开软件后,这些问题都消失了

复现方法

以非root账号启动软件
1.路由设置->V3绕过大陆->添加规则,完成后,经测试,无效
2.参数设置->V2rayN设置->启用统计。确定,重启软件后,无效

日志信息

日志有需要可私发

额外信息

软件版本:v2rayN-linux-amd64 [7.2.2]
系统版本:Ubuntu22.04 amd64

我确认已更新至最新版本

我确认已查询历史issues

@lfxx lfxx added the bug Something isn't working label Nov 27, 2024
@2dust
Copy link
Owner

2dust commented Nov 27, 2024

从理论上讲路由规则和root没有关联,root只有在tun模式才需要,其他时候不需要
你截图你的路由规则和发下日志吧

@lfxx
Copy link
Author

lfxx commented Nov 27, 2024

从理论上讲路由规则和root没有关联,root只有在tun模式才需要,其他时候不需要 你截图你的路由规则和发下日志吧

方便发下邮箱吗

@2dust
Copy link
Owner

2dust commented Nov 27, 2024

[email protected]

@lfxx
Copy link
Author

lfxx commented Nov 28, 2024

[email protected]

已发送,辛苦大佬排查下
另外网速不显示的问题也辛苦看下,感谢!

@2dust
Copy link
Owner

2dust commented Nov 28, 2024

路由规则是有顺序的
你新加的规则要把它移动到最上面才会生效

@2dust
Copy link
Owner

2dust commented Nov 28, 2024

网速问题,你先切换到一个能正常用的节点,然后修改core,切换到xray和sing-box都试一试,看是否会有显示

@lfxx
Copy link
Author

lfxx commented Nov 28, 2024

网速问题,你先切换到一个能正常用的节点,然后修改core,切换到xray和sing-box都试一试,看是否会有显示

切换了一下,还是没有显示

@lfxx
Copy link
Author

lfxx commented Nov 28, 2024

路由规则是有顺序的 你新加的规则要把它移动到最上面才会生效

成功解决了,感谢

@2dust
Copy link
Owner

2dust commented Nov 28, 2024

你使用xray-core然后完整配置导出来,看下配置里面的统计接口的端口是多少,
然后在浏览器访问下 http://127.0.0.1:你的端口/debug/vars

@lfxx
Copy link
Author

lfxx commented Nov 28, 2024

你使用xray-core然后完整配置导出来,看下配置里面的统计接口的端口是多少, 然后在浏览器访问下 http://127.0.0.1:你的端口/debug/vars

已通过邮件发送,辛苦看下

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