You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net/tstun
Maisem Ali bb31fd7d1c net/tstun: add inital support for NAT v4
This adds support in tstun to utitilize the SelfNodeV4MasqAddrForThisPeer and
perform the necessary modifications to the packet as it passes through tstun.

Currently this only handles ICMP, UDP and TCP traffic.
Subnet routers and Exit Nodes are also unsupported.

Updates tailscale/corp#8020

Co-authored-by: Melanie Warrick <warrick@tailscale.com>
Signed-off-by: Maisem Ali <maisem@tailscale.com>
2 years ago
..
constants.go all: update copyright and license headers 2 years ago
fake.go all: update copyright and license headers 2 years ago
ifstatus_noop.go all: update copyright and license headers 2 years ago
ifstatus_windows.go all: update copyright and license headers 2 years ago
linkattrs_linux.go all: update copyright and license headers 2 years ago
linkattrs_notlinux.go all: update copyright and license headers 2 years ago
tap_linux.go all: update copyright and license headers 2 years ago
tap_unsupported.go all: update copyright and license headers 2 years ago
tun.go all: update copyright and license headers 2 years ago
tun_linux.go all: update copyright and license headers 2 years ago
tun_macos.go all: update copyright and license headers 2 years ago
tun_notwindows.go all: update copyright and license headers 2 years ago
tun_windows.go all: update copyright and license headers 2 years ago
wrap.go net/tstun: add inital support for NAT v4 2 years ago
wrap_test.go net/tstun: add inital support for NAT v4 2 years ago