hotfix(pia): revert port changes

- This reverts commit fd6e5e4e90.
- Port changes are more involved and require cipher, auth and certificate changes as well
This commit is contained in:
Quentin McGaw
2025-12-23 13:57:40 +00:00
parent 6a5a836cb6
commit 7052d5490b
3 changed files with 14 additions and 67 deletions
@@ -100,8 +100,8 @@ func (o OpenVPNSelection) validate(vpnProvider string) (err error) {
allowedTCP = []uint16{44, 443, 4433}
allowedUDP = []uint16{44, 443, 4433}
case providers.PrivateInternetAccess:
allowedTCP = []uint16{80, 443, 853, 8443}
allowedUDP = []uint16{53, 123, 853, 8080}
allowedTCP = []uint16{80, 110, 443}
allowedUDP = []uint16{53, 1194, 1197, 1198, 8080, 9201}
case providers.Protonvpn:
allowedTCP = []uint16{443, 5995, 8443}
allowedUDP = []uint16{80, 443, 1194, 4569, 5060}