From 4b819b4dbb2b7fbebb95ab05faa5aa2bab05ec34 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Mon, 4 May 2026 03:10:23 +0000 Subject: [PATCH] fix(pia): allow ports 501 and 502 as custom ports given they are the defaults --- internal/configuration/settings/openvpnselection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/configuration/settings/openvpnselection.go b/internal/configuration/settings/openvpnselection.go index 13339cc0..5ae3c87a 100644 --- a/internal/configuration/settings/openvpnselection.go +++ b/internal/configuration/settings/openvpnselection.go @@ -100,7 +100,7 @@ func (o OpenVPNSelection) validate(vpnProvider string) (err error) { allowedTCP = []uint16{443, 1194, 8080, 8443} allowedUDP = []uint16{443, 1194, 8080, 8443} case providers.PrivateInternetAccess: - allowedTCP = []uint16{80, 110, 443} + allowedTCP = []uint16{80, 110, 443, 501, 502} allowedUDP = []uint16{53, 1194, 1197, 1198, 8080, 9201} case providers.Protonvpn: allowedTCP = []uint16{443, 5995, 8443}