Skip to content

[Windows] TUN inbound: outbound connections stall with Mobile Hotspot enabled despite autoOutboundsInterface #6872

Closed

Description

@KiGamji

@KiGamji 那你开个 issue 吧,大家一起看看有没有更好的解决办法,你这治标不治本,毕竟出站也可以是域名是要动态解析的

Originally posted by @RPRX in #6853 (comment)

With Windows Mobile Hotspot/ICS enabled, Xray’s outbound connections stall after enabling TUN. autoOutboundsInterface is set to the physical adapter’s name, hence the log confirms the correct interface.
A standalone TCP socket using the same IP_UNICAST_IF setting also times out while TUN is active. Adding a /32 route to the proxy server through the physical gateway restores connectivity. Disabling Mobile Hotspot also resolves the issue.
Reproduced with Xray 26.9.9. The host route is only a workaround; I still need to figure out how ICS causes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions