Skip to content

Commit

Permalink
Fix: No route when bind_interface
Browse files Browse the repository at this point in the history
  • Loading branch information
chise0713 committed Aug 19, 2024
1 parent 160316d commit 8319f5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proxy/wireguard/tun_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 8319f5c

Please sign in to comment.