feat(openvpn): reduce handshake window to 10 seconds for faster failure detection (again)

This commit is contained in:
Quentin McGaw
2026-05-03 04:29:29 +00:00
parent 44d510417e
commit a0f6b208f7
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -73,6 +73,7 @@ func modifyConfig(lines []string, connection models.Connection,
modified = append(modified, "pull-filter ignore \"auth-token\"") // prevent auth failed loop
modified = append(modified, "auth-retry nointeract")
modified = append(modified, "suppress-timestamps")
modified = append(modified, "hand-window 10") // default is 60 seconds which is too long
if *settings.User != "" {
modified = append(modified, "auth-user-pass "+openvpn.AuthConf)
}