Feature: add 10s ping with 60s exit ping for all

This commit is contained in:
Quentin McGaw
2021-01-22 13:30:06 +00:00
parent 7ab3347604
commit 204c5b2446
9 changed files with 27 additions and 11 deletions

View File

@@ -138,9 +138,11 @@ func (p *pia) BuildConf(connection models.OpenVPNConnection,
"nobind",
"persist-key",
"remote-cert-tls server",
"ping 10",
"ping-exit 60",
"ping-timer-rem",
// PIA specific
"ping 300", // Ping every 5 minutes to prevent a timeout error
"reneg-sec 0",
"compress", // allow PIA server to choose the compression to use