tailscale/wgengine/wgcfg
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
..
nmcfg net/tstun,wgengine/*: add support for NAT to routes 2023-03-29 12:30:18 -07:00
config.go net/tstun,wgengine/*: add support for NAT to routes 2023-03-29 12:30:18 -07:00
device_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
device.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
parser_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
parser.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
wgcfg_clone.go net/tstun,wgengine/*: add support for NAT to routes 2023-03-29 12:30:18 -07:00
writer.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00