From 835fa6c41f471e991b1abf383dd9376e92ea0a9e Mon Sep 17 00:00:00 2001 From: "Quentin McGaw (desktop)" Date: Sun, 30 May 2021 21:25:55 +0000 Subject: [PATCH] Fix: HideMyAss Openvpn remote line --- internal/provider/hidemyass/openvpnconf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/provider/hidemyass/openvpnconf.go b/internal/provider/hidemyass/openvpnconf.go index af325586..e0edeb00 100644 --- a/internal/provider/hidemyass/openvpnconf.go +++ b/internal/provider/hidemyass/openvpnconf.go @@ -42,7 +42,7 @@ func (h *HideMyAss) BuildConf(connection models.OpenVPNConnection, "verb " + strconv.Itoa(settings.Verbosity), "auth-user-pass " + constants.OpenVPNAuthConf, "proto " + connection.Protocol, - "remote " + connection.IP.String() + strconv.Itoa(int(connection.Port)), + "remote " + connection.RemoteLine(), } lines = append(lines, utils.CipherLines(settings.Cipher, settings.Version)...)