Maint: OpenVPN option keepalive replaced by ping options

This commit is contained in:
Quentin McGaw (desktop)
2021-09-14 14:57:31 +00:00
parent af3f882bb8
commit 836e53642d

View File

@@ -29,6 +29,8 @@ func (t *Torguard) BuildConf(connection models.Connection,
"dev " + settings.Interface, "dev " + settings.Interface,
"nobind", "nobind",
"remote-cert-tls server", "remote-cert-tls server",
"ping 5",
"ping-restart 30",
"tls-exit", "tls-exit",
// Torguard specific // Torguard specific
@@ -37,7 +39,6 @@ func (t *Torguard) BuildConf(connection models.Connection,
"mssfix " + strconv.Itoa(int(settings.MSSFix)), "mssfix " + strconv.Itoa(int(settings.MSSFix)),
"reneg-sec 0", "reneg-sec 0",
"key-direction 1", "key-direction 1",
"keepalive 5 30",
"sndbuf 393216", "sndbuf 393216",
"rcvbuf 393216", "rcvbuf 393216",