Maint: OpenVPN option: remove all ping-* options

- Use the built-in healthcheck vpn restart mechanism instead
- Restarting with `ping-restart` or `ping-exit` would only restart with the same `remote` connection
- Specify `ping` options as VPN specific to ensure the server doesn't disconnect us
This commit is contained in:
Quentin McGaw (desktop)
2021-09-14 15:23:56 +00:00
parent 9f65157a0d
commit c3078f84e8
13 changed files with 11 additions and 25 deletions

View File

@@ -24,11 +24,10 @@ func (v *Vyprvpn) BuildConf(connection models.Connection,
"dev " + settings.Interface,
"nobind",
"remote-cert-tls server",
"ping 10",
"ping-exit 60",
"tls-exit",
// Vyprvpn specific
"ping 10",
// "verify-x509-name lu1.vyprvpn.com name",
"tls-cipher TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA256:TLS-DHE-RSA-WITH-AES-256-CBC-SHA", //nolint:lll