mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-10-05 23:33:41 +00:00
Windows ignores the binding of autoOutboundsInterface (IP_UNICAST_IF) when the outbound interface has weak host send or forwarding on for an IP version routed to the TUN: Xray's own connections then go into the TUN, from that interface's address, and stall. While the TUN runs, weak host send is turned off on that interface for those IP versions, and turned on again when it stops or another interface takes over. Forwarding, which Mobile Hotspot and Internet Connection Sharing need, cannot be turned off without breaking them, so it is reported instead: the TUN does not start while it is on, and an error is logged when it comes on later. Fixes https://github.com/XTLS/Xray-core/issues/6776 Reports the cause of https://github.com/XTLS/Xray-core/issues/6872 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>