mirror of https://github.com/tailscale/tailscale/
net/udprelay: use GetGlobalAddrs and add local port endpoint (#17797)
Use GetGlobalAddrs() to discover all STUN endpoints, handling bad NATs that create multiple mappings. When MappingVariesByDestIP is true, also add the first STUN IPv4 address with the relay's local port for static port mapping scenarios. Updates #17796 Signed-off-by: Raj Singh <raj@tailscale.com>pull/17806/head
parent
d4c5b278b3
commit
bab5e68d0a
Loading…
Reference in New Issue