x-ui icon indicating copy to clipboard operation
x-ui copied to clipboard

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

Open jyogyou opened this issue 2 years ago • 0 comments
trafficstars

Welcome

  • [X] Yes, I'm using the latest major release. Only such installations are supported.
  • [X] Yes, I'm using the supported system. Only such systems are supported.
  • [X] Yes, I have read all WIKI document,nothing can help me in my problem.
  • [X] Yes, I've searched similar issues on GitHub and didn't find any.
  • [X] Yes, I've included all information below (version, config, log, etc).

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

$ x-ui version
# Paste output here

x-ui log or xray log

# paste log here

jyogyou avatar Jul 26 '23 17:07 jyogyou