From 5bf6a0c6eff6d18a42d5ae1775f09d360f9f1fcf Mon Sep 17 00:00:00 2001
From: Egor Tensin
Date: Fri, 4 Mar 2022 08:08:07 +0500
Subject: implement PersistentKeepalive as a parameter
It's a unique parameter in many ways compared to the others. First, it's
optional, and has a default value. Second, I don't want it to be visible
at all times, which is why I hid it under the "Show advanced parameters"
checkbox. Hence a lot of changes.
---
index.html | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
(limited to 'index.html')
diff --git a/index.html b/index.html
index 34499c2..e285ff5 100644
--- a/index.html
+++ b/index.html
@@ -59,6 +59,14 @@ params:
help: |
IPv6 address to assign to the client and its netmask in the CIDR format.
example: fd::/48
+ - id: keepalive
+ name: Keepalive
+ default: 25
+ placeholder: Seconds between keepalive packets, typically 25
+ help: |
+ Time to wait between sending keepalive packets, seconds.
+ example: 25
+ advanced: true
---
WireGuard configuration
@@ -95,7 +103,7 @@ show the configuration that can be easily consumed by the new client.
{% for param in grp.items %}
-