summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs
diff options
context:
space:
mode:
authorMaisem Ali <maisem@tailscale.com>2024-05-08 23:04:21 -0700
committerMaisem Ali <maisem@gmail.com>2024-06-03 14:37:38 -0700
commit0b1a8586ebc00a4f5b464a3412af5bc13161685a (patch)
tree647737d1fb4cbffab100f06618fb67ab2dfdd3e8 /control/controlknobs
parent7b193de6b912aa96940b06765143dff393be3cfd (diff)
downloadtailscale-0b1a8586ebc00a4f5b464a3412af5bc13161685a.tar.xz
tailscale-0b1a8586ebc00a4f5b464a3412af5bc13161685a.zip
cmd/natc: initial implementation of a NAT based connector
This adds a new prototype `cmd/natc` which can be used to expose a services/domains to the tailnet. It requires the user to specify a set of IPv4 prefixes from the CGNAT range. It advertises these as normal subnet routes. It listens for DNS on the first IP of the first range provided to it. When it gets a DNS query it allocates an IP for that domain from the v4 range. Subsequent connections to the assigned IP are then tcp proxied to the domain. It is marked as a WIP prototype and requires the use of the `TAILSCALE_USE_WIP_CODE` env var. Updates tailscale/corp#20503 Signed-off-by: Maisem Ali <maisem@tailscale.com>
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions