feat(openvpn): add support for openvpn 2.6

This commit is contained in:
Quentin McGaw
2023-05-21 13:23:51 +00:00
parent e8f2296a0d
commit 3b807e2ca9
8 changed files with 16 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ func (p *Provider) OpenVPNConfig(connection models.Connection,
}
switch settings.Version {
case openvpn.Openvpn25:
case openvpn.Openvpn25, openvpn.Openvpn26:
providerSettings.Ciphers = []string{
openvpn.AES256gcm, openvpn.AES256cbc, openvpn.AES192gcm,
openvpn.AES192cbc, openvpn.AES128gcm, openvpn.AES128cbc,