mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-11-07 18:52:37 +00:00
https://github.com/XTLS/Xray-core/pull/7332#issuecomment-6676374920 With IPv6 off on all interfaces by DisabledComponents (0x01 and 0x10 both set, as in 0xFF), the IPv6 entries of gateway, dns and autoSystemRoutingTable are ignored and the TUN starts with IPv4 only, so one config works either way. The value takes effect at the next boot only, so ignored IPv6 routes add "[::/0]:misconfigtun" to autoSystemWfpBlockLeak: until the reboot, IPv6 the TUN would have taken cannot leave outside it, also through interfaces connected later. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>