trombik / esp_wireguard

WireGuard Implementation for ESP-IDF.
Other
198 stars 36 forks source link

persistent keepalives should be off by default #15

Closed trombik closed 2 years ago

trombik commented 2 years ago

https://www.wireguard.com/quickstart/#nat-and-firewall-traversal-persistence

This is called persistent keepalives. When this option is enabled, a keepalive packet is sent to the server endpoint once every interval seconds. A sensible interval that works with a wide variety of firewalls is 25 seconds. Setting it to 0 turns the feature off, which is the default, since most users will not need this, and it makes WireGuard slightly more chatty.