mirror of
https://github.com/qdm12/gluetun.git
synced 2025-12-10 20:07:32 -06:00
- `OPENVPN_ENCRYPTED_KEY` environment variable - `OPENVPN_ENCRYPTED_KEY_SECRETFILE` environment variable - `OPENVPN_KEY_PASSPHRASE` environment variable - `OPENVPN_KEY_PASSPHRASE_SECRETFILE` environment variable - `PREMIUM_ONLY` environment variable - OpenVPN user and password not required for vpnsecure provider
67 lines
1.6 KiB
Go
67 lines
1.6 KiB
Go
package providers
|
|
|
|
const (
|
|
// Custom is the VPN provider name for custom
|
|
// VPN configurations.
|
|
Custom = "custom"
|
|
Cyberghost = "cyberghost"
|
|
Example = "example"
|
|
Expressvpn = "expressvpn"
|
|
Fastestvpn = "fastestvpn"
|
|
HideMyAss = "hidemyass"
|
|
Ipvanish = "ipvanish"
|
|
Ivpn = "ivpn"
|
|
Mullvad = "mullvad"
|
|
Nordvpn = "nordvpn"
|
|
Perfectprivacy = "perfect privacy"
|
|
Privado = "privado"
|
|
PrivateInternetAccess = "private internet access"
|
|
Privatevpn = "privatevpn"
|
|
Protonvpn = "protonvpn"
|
|
Purevpn = "purevpn"
|
|
SlickVPN = "slickvpn"
|
|
Surfshark = "surfshark"
|
|
Torguard = "torguard"
|
|
VPNSecure = "vpnsecure"
|
|
VPNUnlimited = "vpn unlimited"
|
|
Vyprvpn = "vyprvpn"
|
|
Wevpn = "wevpn"
|
|
Windscribe = "windscribe"
|
|
)
|
|
|
|
// All returns all the providers except the custom provider.
|
|
func All() []string {
|
|
return []string{
|
|
Cyberghost,
|
|
Expressvpn,
|
|
Fastestvpn,
|
|
HideMyAss,
|
|
Ipvanish,
|
|
Ivpn,
|
|
Mullvad,
|
|
Nordvpn,
|
|
Perfectprivacy,
|
|
Privado,
|
|
PrivateInternetAccess,
|
|
Privatevpn,
|
|
Protonvpn,
|
|
Purevpn,
|
|
SlickVPN,
|
|
Surfshark,
|
|
Torguard,
|
|
VPNSecure,
|
|
VPNUnlimited,
|
|
Vyprvpn,
|
|
Wevpn,
|
|
Windscribe,
|
|
}
|
|
}
|
|
|
|
func AllWithCustom() []string {
|
|
allProviders := All()
|
|
allProvidersWithCustom := make([]string, len(allProviders)+1)
|
|
copy(allProvidersWithCustom, allProviders)
|
|
allProvidersWithCustom[len(allProvidersWithCustom)-1] = Custom
|
|
return allProvidersWithCustom
|
|
}
|