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

关于链式转发问题的提问如何在配置文件中写入UUID和用户名 #15

Open
q592850 opened this issue May 25, 2022 · 1 comment

Comments

@q592850
Copy link

q592850 commented May 25, 2022

你好开发者,我有个问题需要提问下!
问题描述:
我遇到的问题是,我在做链式转发,需要用到路由规则如下
"routing": {
"rules": [
{
"type": "field",
"user": [
"[email protected]"
],
"outboundTag": "chu01"
},
{
"type": "field",
"user": [
"[email protected]"
],
"outboundTag": "chu02"
}
]
}
我如何才能获得用户的变量来配置规则??
如果手动配置,我只能配置几个用户名,和UUID,但是这个和面板后续增加用户就要手动增加 非常不方便!

@crossfw
Copy link
Owner

crossfw commented May 25, 2022

Xray 内核目前不支持 routing 的动态修改。
如果技术不错可以考虑通过修改 XrayR 来实现

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

2 participants