From 8319f5ce4b1d48595afc6b6d75aa6e03c5cde90f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=81=E3=82=BB?= <123655015+chise0713@users.noreply.github.com> Date: Tue, 20 Aug 2024 00:27:20 +0800 Subject: [PATCH] Fix: No route when bind_interface --- proxy/wireguard/tun_linux.go | 1 + 1 file changed, 1 insertion(+) diff --git a/proxy/wireguard/tun_linux.go b/proxy/wireguard/tun_linux.go index 88446339fc6f..d2edd2837027 100644 --- a/proxy/wireguard/tun_linux.go +++ b/proxy/wireguard/tun_linux.go @@ -199,6 +199,7 @@ func createKernelTun(localAddresses []netip.Addr, mtu int, handler promiscuousMo r := netlink.NewRule() r.Table, r.Family, r.Src = ipv6TableIndex, unix.AF_INET6, addr.IPNet + r.Table, r.Family, r.OifName = ipv6TableIndex, unix.AF_INET6, n out.rules = append(out.rules, r) }