tailscale/net/tstun
Maisem Ali 985535aebc net/tstun,wgengine/*: add support for NAT to routes
This adds support to make exit nodes and subnet routers work
when in scenarios where NAT is required.

It also updates the NATConfig to be generated from a `wgcfg.Config` as
that handles merging prefs with the netmap, so it has the required information
about whether an exit node is already configured and whether routes are accepted.

Updates tailscale/corp#8020

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2023-03-29 12:30:18 -07:00
..
table net/tstun/table: add initial RoutingTable implementation 2023-03-29 12:30:18 -07:00
constants.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
fake.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ifstatus_noop.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ifstatus_windows.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
linkattrs_linux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
linkattrs_notlinux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tap_linux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tap_unsupported.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tun_linux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tun_macos.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tun_notwindows.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tun_windows.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tun.go go.mod, net/tstun, wgengine/magicsock: update wireguard-go (#7712) 2023-03-28 15:37:11 -07:00
wrap_test.go net/tstun,wgengine/*: add support for NAT to routes 2023-03-29 12:30:18 -07:00
wrap.go net/tstun,wgengine/*: add support for NAT to routes 2023-03-29 12:30:18 -07:00