# Zyreca VPN setup for Windows 10/11. Right-click > Run with PowerShell (no admin needed). # Adds an IKEv2 VPN "Zyreca VPN" to Settings > Network & internet > VPN. Connect from there # (or the network icon); Windows asks for your user name and password the first time. $ErrorActionPreference = "Stop" $name = "Zyreca VPN" $server = "vpn.zyreca.com" if (Get-VpnConnection -Name $name -ErrorAction SilentlyContinue) { Remove-VpnConnection -Name $name -Force } Add-VpnConnection -Name $name -ServerAddress $server -TunnelType Ikev2 ` -EncryptionLevel Maximum -AuthenticationMethod Eap -RememberCredential # IKE: AES-256 + SHA-256 + DH group 14; ESP: AES-256-GCM. Set-VpnConnectionIPsecConfiguration -ConnectionName $name ` -AuthenticationTransformConstants GCMAES256 -CipherTransformConstants GCMAES256 ` -EncryptionMethod AES256 -IntegrityCheckMethod SHA256 -DHGroup Group14 -PfsGroup None -Force Write-Host "" Write-Host "Added '$name'. Connect it from Settings > Network & internet > VPN." -ForegroundColor Green Write-Host "Sign in with your Zyreca VPN user name and password." Read-Host "Press Enter to close"