Skip to content

Fix WireGuard route-rule chains by binding generated route endpoints to TUN - #1714

Open
x15rte wants to merge 1 commit into
throneproj:devfrom
x15rte:dev
Open

Fix WireGuard route-rule chains by binding generated route endpoints to TUN#1714
x15rte wants to merge 1 commit into
throneproj:devfrom
x15rte:dev

Conversation

@x15rte

@x15rte x15rte commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Throne treated generated WireGuard endpoint tags as valid route-rule targets in the same way as normal outbounds. On sing-box 1.13.x, route rules targeting WireGuard endpoints do not reliably carry TCP/UDP route-profile traffic. This broke route-profile chains whose first generated hop was WireGuard/AmneziaWG. Applying bind_interface = throne-tun to those generated WireGuard route endpoints to restores connectivity.

This should be treated as a sing-box 1.13.x compatibility shim.
When Throne upgrades to sing-box 1.14+, re-check this path. sing-box 1.14 documents broader TCP/UDP L3 forwarding support to WireGuard/Tailscale endpoints, so this auto-bind may become unnecessary or should be gated by core version.

@x15rte

x15rte commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

Most of my traffic goes through a proxy chain, specifically by forwarding Singbox Shadowsocks via XRay Reality.
I’m currently using Advanced Route to route some traffic through Warp; if I don’t bind WireGuard to tun0, no internet connection.
image
image

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant