FranzKafkaYu / x-ui

Lightweight Xray panel with multi-protocol and multi-user on the same port,supports English language and Telegram bot. Easy to use and easy to manage.
GNU General Public License v3.0
7.79k stars 1.54k forks source link

xray路由分流配置的一个小建议 #463

Open jyogyou opened 1 year ago

jyogyou commented 1 year ago

Welcome

Description of the problem,screencshot would be good

目前使用的版本里面如果自己设置了outbounds的节点,通过routing的rules来设置分流,例如: "inboundTag": [ "inbound-27314" ], "outboundTag": "ge", "type": "field" }, 然后会导致其他所以节点的出站流量都会通过"outboundTag": "ge"的路由走,目前修改是在outbounds里面修改添加了 { "tag": "direct", "protocol": "freedom", "settings": {} } 在routing的rules里面添加了 { "type": "field", "outboundTag": "direct", "network": "udp,tcp" } 这样就能正常分流出站。 希望后面的更新能默认加入这个,方便每次配置不用去添加写入。

Version of x-ui

```console $ x-ui version # Paste output here ```

x-ui log or xray log

```console # paste log here ```