From c826707d420e43936f53a70b40d3cc433ec55227 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Mon, 1 Jan 2024 18:21:24 +0000 Subject: [PATCH] fix(vpnunlimited): specify OpenVPN cipher and auth --- internal/provider/vpnunlimited/openvpnconf.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/provider/vpnunlimited/openvpnconf.go b/internal/provider/vpnunlimited/openvpnconf.go index 5468a6660..a49ff6a32 100644 --- a/internal/provider/vpnunlimited/openvpnconf.go +++ b/internal/provider/vpnunlimited/openvpnconf.go @@ -2,6 +2,7 @@ package vpnunlimited import ( "github.com/qdm12/gluetun/internal/configuration/settings" + "github.com/qdm12/gluetun/internal/constants/openvpn" "github.com/qdm12/gluetun/internal/models" "github.com/qdm12/gluetun/internal/provider/utils" ) @@ -13,6 +14,8 @@ func (p *Provider) OpenVPNConfig(connection models.Connection, AuthUserPass: false, Ping: 5, //nolint:gomnd RenegDisabled: true, + Ciphers: []string{openvpn.AES256cbc}, + Auth: openvpn.SHA512, CAs: []string{ "MIID7jCCA1CgAwIBAgIQQTT3w3N+5i8OMfe565xaSjAKBggqhkjOPQQDBDCBojELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAk5ZMREwDwYDVQQHDAhOZXcgWW9yazEXMBUGA1UECgwOS2VlcFNvbGlkIEluYy4xGjAYBgNVBAsMEUtlZXBTb2xpZCBSb290IENBMRowGAYDVQQDDBFLZWVwU29saWQgUm9vdCBDQTEiMCAGCSqGSIb3DQEJARYTYWRtaW5Aa2VlcHNvbGlkLmNvbTAeFw0yMDA0MDExNjI3MTRaFw0yNTAzMzExNjI3MTRaMIGgMQswCQYDVQQGEwJVUzELMAkGA1UECAwCTlkxETAPBgNVBAcMCE5ldyBZb3JrMRcwFQYDVQQKDA5LZWVwU29saWQgSW5jLjEVMBMGA1UECwwMS2VlcFNvbGlkIENBMR0wGwYDVQQDDBRPcGVuVlBOIFNlcnZlciBTdWJDQTEiMCAGCSqGSIb3DQEJARYTYWR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