VPN fails to connect, shows error, or connects but breaks internet? Here are 9 tested fixes — from firewall rules to protocol changes — for every type of VPN failure.
📋 Table of Contents
🔍 Why Does VPN Fail in Windows 11?
Allow VPN Through Windows Firewall — Most Common Fix
Windows Firewall is the most common reason VPN fails in Windows 11. It blocks VPN client connections and VPN-specific ports without any notification.
Allow VPN client through Firewall:
- Press
Win + I→ Privacy & Security → Windows Security - Click Firewall & network protection
- Click Allow an app through firewall
- Find your VPN client (NordVPN, ExpressVPN, ProtonVPN etc.)
- Check both Private and Public checkboxes
- If not listed: click Allow another app → browse to VPN executable → Add
- Click OK → try VPN again
Change VPN Protocol
Different VPN protocols work better on different networks. Some ISPs or networks block specific protocols. Switching often instantly resolves connection failures.
In your VPN client app settings:
- Try IKEv2 — most stable for Windows 11, fast and reliable
- Try OpenVPN TCP — most reliable for bypassing ISP restrictions
- Try L2TP/IPsec — works on almost all networks
- Try WireGuard — fastest if supported by your VPN provider
For Windows built-in VPN:
- Press
Win + I→ Network & Internet → VPN - Click your VPN connection → Advanced options
- Change VPN type from Automatic to IKEv2 first, then try others
Flush DNS and Reset TCP/IP Stack
Corrupted DNS cache and TCP/IP settings cause VPN authentication failures and post-connection internet breakage. A reset clears all conflicts.
ipconfig /release
ipconfig /renew
netsh int ip reset
netsh winsock reset
Restart PC → try VPN connection again.
Enable Required IPsec and VPN Services
Windows VPN (especially L2TP and IKEv2) requires specific Windows services to be running. If they are stopped or set to Manual, VPN connection fails silently.
- Press
Win + R→ typeservices.msc→ Enter - Find and set these services to Automatic and Started:
- IKE and AuthIP IPsec Keying Modules → Automatic + Start
- IPsec Policy Agent → Automatic + Start
- Remote Access Connection Manager → Manual + Start
- Routing and Remote Access → Manual (start only when needed)
- For each: double-click → set Startup type → click Start → OK
- Try VPN connection again
Disable Antivirus and Third-Party Firewall
Antivirus programs like Avast, Kaspersky, McAfee, and Norton often include firewalls that intercept VPN traffic without notification.
- Temporarily disable your antivirus (right-click system tray icon → Disable)
- Try VPN connection
- If it connects — antivirus is blocking it
- Re-enable antivirus → add VPN client to antivirus exclusion/whitelist
Fix VPN Error 789 — L2TP Registry Fix
Error 789 is a specific L2TP/IPsec failure caused by NAT traversal issues. Windows requires a registry key to allow L2TP VPN behind a NAT router.
Restart PC after running this command → try L2TP VPN again.
Reinstall VPN Client Completely
Corrupted VPN client installations cause persistent connection failures that no setting change can fix. A clean reinstall resolves all installation-level issues.
- Press
Win + I→ Apps → find your VPN app → Uninstall - After uninstall, restart PC
- Press
Win + R→ typencpa.cpl→ confirm no leftover VPN adapter remains - Download latest version from your VPN provider’s official website
- Install fresh → login → test connection
Update Network Adapter Driver
Outdated network drivers can conflict with VPN virtual adapter creation, causing connection failures especially for OpenVPN and WireGuard.
- Press
Win + X→ Device Manager → Network Adapters - Right-click your main network adapter → Update driver
- If no update available → Uninstall → restart → Windows reinstalls
- Also check for any VPN adapter entries with yellow warning icons → right-click → Uninstall to clean up
Full Network Reset — Last Resort
Removes all VPN adapters, network configurations, and resets all networking to Windows 11 factory defaults. Start completely fresh.
- Press
Win + I→ Network & Internet → Advanced network settings - Click Network reset → Reset now → PC restarts in 5 minutes
- After restart → reinstall VPN client → connect
| # | Fix | Level | Time | Best For |
|---|---|---|---|---|
| 1 | Allow VPN Through Firewall | Easy | 2 min | VPN blocked — most common cause |
| 2 | Change VPN Protocol | Easy | 2 min | Protocol blocked by ISP or network |
| 3 | Flush DNS + Reset TCP/IP | Medium | 3 min | DNS/routing conflicts |
| 4 | Enable IPsec Services | Easy | 2 min | L2TP or IKEv2 failures |
| 5 | Disable Antivirus | Easy | 2 min | Security software interference |
| 6 | Fix Error 789 Registry | Medium | 3 min | L2TP Error 789 behind NAT |
| 7 | Reinstall VPN Client | Medium | 10 min | Corrupted VPN installation |
| 8 | Update Network Driver | Medium | 5 min | Driver conflicting with VPN adapter |
| 9 | Full Network Reset | Medium | 5 min | Nothing else worked |
❓ Frequently Asked Questions
Why is my VPN not connecting in Windows 11?
How do I fix VPN Error 789 in Windows 11?
VPN connects but internet stops working in Windows 11 — why?
Can Windows Defender block VPN connections?
Which VPN protocol works best in Windows 11 in 2026?
✅ Bottom Line
VPN not connecting in Windows 11 is almost always caused by Windows Firewall blocking the client or IPsec services being stopped. Apply Fix 1 (allow through firewall) and Fix 4 (enable IPsec services) — these two together resolve most VPN failures in under 5 minutes. For L2TP Error 789, the Fix 6 registry key is the specific Microsoft-recommended solution. You do not need to change your ISP or buy a new router.