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:
@@ -22,11 +22,10 @@ func (i *Ivpn) BuildConf(connection models.Connection,
|
||||
"client",
|
||||
"dev " + settings.Interface,
|
||||
"nobind",
|
||||
"ping 5",
|
||||
"ping-exit 30",
|
||||
"tls-exit",
|
||||
|
||||
// IVPN specific
|
||||
"ping 5",
|
||||
"remote-cert-tls server", // updated name of ns-cert-type
|
||||
"key-direction 1",
|
||||
"tls-cipher TLS-DHE-RSA-WITH-AES-256-CBC-SHA:TLS-DHE-DSS-WITH-AES-256-CBC-SHA:TLS-RSA-WITH-AES-256-CBC-SHA",
|
||||
|
||||
Reference in New Issue
Block a user