yichya / luci-app-xray

(Almost) full feature Xray client for OpenWrt
Mozilla Public License 2.0
615 stars 549 forks source link

how to config routing via domain:cn #250

Closed aminmazi closed 1 year ago

aminmazi commented 1 year ago

Hello guys first of all, thank you for such a great tool!

I have a problem to config routing to bypass special domains. here is my config object that works locally, but when I want to config my openwrt to bypass *.ir domains, it seems luci-app-xray doesn't support it 🤔

{
                "type": "field",
                "outboundTag": "direct",
                "domain": [
                    "domain:ir",
                    "geosite:private"
                ]
}

is there any way I can use the above config for openwrt?

yichya commented 1 year ago

First, enable sniffing

image

Then add your domain rules under "Bypassed domain rules"

image
aminmazi commented 1 year ago

Yeah that worked ! Thanks a lot 🙏