Skip to content

Commit

Permalink
Change Slickvpn Openvpn validation:
Browse files Browse the repository at this point in the history
- Allow custom ports 443, 8080 and 8888
- Allow TCP
  • Loading branch information
qdm12 committed Jun 25, 2022
1 parent 514f5c5 commit 0d41c6b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/configuration/settings/openvpnselection.go
Expand Up @@ -43,7 +43,6 @@ func (o OpenVPNSelection) validate(vpnProvider string) (err error) {
providers.Ipvanish,
providers.Perfectprivacy,
providers.Privado,
providers.SlickVPN,
providers.VPNUnlimited,
providers.Vyprvpn,
) {
Expand Down Expand Up @@ -83,6 +82,9 @@ func (o OpenVPNSelection) validate(vpnProvider string) (err error) {
case providers.Protonvpn:
allowedTCP = []uint16{443, 5995, 8443}
allowedUDP = []uint16{80, 443, 1194, 4569, 5060}
case providers.SlickVPN:
allowedTCP = []uint16{443, 8080, 8888}
allowedUDP = []uint16{443, 8080, 8888}
case providers.Wevpn:
allowedTCP = []uint16{53, 1195, 1199, 2018}
allowedUDP = []uint16{80, 1194, 1198}
Expand Down

0 comments on commit 0d41c6b

Please sign in to comment.