algo icon indicating copy to clipboard operation
algo copied to clipboard

Algo should generate wireguard client configs suitable for non-mobile clients

Open pvg opened this issue 8 years ago • 2 comments

Currently the Algo generates a WG client configuration file for Android clients that does not enable WireGuard's connection keep-alive feature. This is presumably makes sense on a phone but for desktop clients behind NAT, you generally always want it enabled. The feature is briefly described here:

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

To enable it in a client configuration, the [Peer] section should incline a line like

PersistentKeepalive = 25

This would make the client send a send a keepalive every 25 seconds.

pvg avatar Aug 26 '18 22:08 pvg

Could you explain the problem you're having that this option fixes?

davidemyers avatar Aug 27 '18 12:08 davidemyers

Pretty much exactly what it says in the linked WG doc.

pvg avatar Aug 28 '18 04:08 pvg