mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
3ae7140690
In the case where the exit node requires SNAT, we would SNAT all traffic not just the traffic meant to go through the exit node. This was a result of the default route being added to the routing table which would match basically everything. In this case, we need to account for all peers in the routing table not just the ones that require NAT. Fix and add a test. Updates tailscale/corp#8020 Signed-off-by: Maisem Ali <maisem@tailscale.com> |
||
---|---|---|
.. | ||
table | ||
fake.go | ||
ifstatus_noop.go | ||
ifstatus_windows.go | ||
linkattrs_linux.go | ||
linkattrs_notlinux.go | ||
mtu_test.go | ||
mtu.go | ||
tap_linux.go | ||
tap_unsupported.go | ||
tun_linux.go | ||
tun_macos.go | ||
tun_notwindows.go | ||
tun_windows.go | ||
tun.go | ||
wrap_test.go | ||
wrap.go |