Can Xray routing rules use wildcard patterns for user email prefixes? #4668
mehdikhody
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm configuring routing rules in Xray and need clarification on the user field in the
RuleObject
as described in the Xray routing documentation.The documentation states:
I have users in my 443 inbound with email identifiers such as
de-user1
,uk-user1
,de-user2
, anduk-user2
. My goal is to route users with ade
prefix to aDE
outbound and those with auk
prefix to aUK
outbound.Is it possible to use wildcard patterns (e.g.,
de-*
oruk-*
) in the user field to match these prefixes? For example, would the following routing rules work as intended?If wildcards are not supported, what’s the best way to achieve this routing based on user email prefixes? Would I need to list every user explicitly or is there another approach, such as regex or a different rule type?
Thanks for any insights or examples!
Beta Was this translation helpful? Give feedback.
All reactions