mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Any well-behaved NAT should keep the port mappings of an established UDP connection open for 120s, even without seeing any traffic. Not all NATs in the wild are well-behaved though and a discarded port mapping causes connectivity loss for customers. To combat these situations, we decrease the timer for STUN probes on idle connections from 60s to 25s. Related: #9526
Connlib
Firezone's connectivity library shared by all clients.
Building Connlib
You shouldn't need to build connlib directly; it's typically built as a dependency of one of the other Firezone components. See READMEs in those directories for relevant instructions.