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

@@ -95,14 +95,14 @@ func (s *surfshark) BuildConf(connection models.OpenVPNConnection,
"nobind",
"persist-key",
"remote-cert-tls server",
"ping 10",
"ping-exit 60",
"ping-timer-rem",
// Surfshark specific
"tun-mtu 1500",
"tun-mtu-extra 32",
"mssfix " + strconv.Itoa(int(settings.MSSFix)),
"ping 15",
"ping-restart 60",
"ping-timer-rem",
"reneg-sec 0",
"fast-io",
"key-direction 1",