#1902·Throne

Profile bind-interface is ignored, so a server reachable only via a non-default interface never connects

Author: mutyshwarzkopf-a11yCreated Sep 20, 2026Updated Sep 22, 2026
Labelsbug

Operating system

Linux

System version

debian

Installation type

deb

Version

1.3.0

Description

Throne binds every outbound socket to the auto-detected default interface. If the profile's server is reachable only through some other interface — an overlay/mesh network, a second uplink, a route provided by another tunnel — the profile can never connect, and the per-profile bind-interface setting doesn't help: it has no effect and isn't saved.

Nothing is logged as an error. The connection just hangs, lookups through the proxy time out, and the profile looks dead for no visible reason.

My case: the server sits on a mesh network (Yggdrasil, 200::/7) reachable only via ygg0, while the default interface is the LAN one.

Reproduction

  1. Have a network that is routable only via a non-default interface (here: ygg0).
  2. Create a VLESS (Xray) profile whose server address belongs to that network, start it.
  3. Nothing goes through. ss -tnpe shows the sockets pinned to the default interface: ESTAB %eth0:47954 -> :80 fwmark:0x2024
  4. Set the bind interface to ygg0 in the profile editor: no effect, and the setting is gone after a restart. Adding streamSettings.sockopt.interface to outbound_json in throne.db is ignored as well.
  5. Cross-check: standalone Xray 26.9.9 with the very same outbound plus sockopt.interface = "ygg0" connects fine, so the profile itself is valid.

Plain socket to the server, as root: bound to eth0 (what Throne does) -> ENETUNREACH bound to ygg0 -> ok, 528 ms not bound -> ok, 117 ms

Loopback destinations are exempt from the binding, so pointing the profile at a local forwarder (socat 127.0.0.1:10080 -> [server]:80) works. That's my workaround.

Logs

bash