For anyone interested in NAT traversal, Tailscale’s approach is worth a look. Their How NAT traversal works article explains how their open source node software uses STUN to discover public IPs and ports, and ICE to coordinate connectivity checks and select the best path between peers. Tailscale combines UDP hole punching, persistent keepalives, and fallback encrypted relays to maintain connections with minimal overhead, even through tough NATs. I wonder if anything they are doing could be used to improve how Autonomi handles NAT traversal. I figured this was worth a share.
Cheers!