From a0b9044fd3cfa54a32f3551b748bf15a6ceab377 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Mon, 3 Apr 2023 07:58:04 +0000 Subject: [PATCH] fix(hidemyass): add warning of end of life - Fixes #1498 - Credits to @Fukitsu --- internal/configuration/settings/settings.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/configuration/settings/settings.go b/internal/configuration/settings/settings.go index 0f330680..c3471a67 100644 --- a/internal/configuration/settings/settings.go +++ b/internal/configuration/settings/settings.go @@ -163,6 +163,11 @@ func (s Settings) toLinesNode() (node *gotree.Node) { } func (s Settings) Warnings() (warnings []string) { + if *s.VPN.Provider.Name == providers.HideMyAss { + warnings = append(warnings, "HideMyAss dropped support for Linux OpenVPN "+ + " so this will likely not work anymore. See https://github.com/qdm12/gluetun/issues/1498.") + } + if helpers.IsOneOf(*s.VPN.Provider.Name, providers.SlickVPN) && s.VPN.Type == vpn.OpenVPN { if s.VPN.OpenVPN.Version == openvpn.Openvpn24 {