Updated on November 18, 2026

If a VPN provider says its app needs a Windows Firewall exception, open Windows Security → Firewall & network protection → Allow an app through firewall. Allow the provider’s official app on the network profile it needs and keep the firewall on. Most VPN clients start an outbound connection, so a failed connection can also come from the VPN app, the server, or the network you’re using.
Check What’s Blocking the VPN
| What You See | What to Check First |
|---|---|
| The internet also fails with the VPN disconnected | Check the Wi-Fi or Ethernet connection. Some VPN kill switches block traffic while the VPN is down, so check the app’s status as well. |
| The VPN fails only on hotel, airport, or café Wi-Fi | Complete any Wi-Fi sign-in page. See if the VPN works on a trusted connection, such as your phone’s hotspot. |
| The VPN stopped after a Windows or app update | Update the VPN client and restart it. If a saved rule points to an old app location, check the provider’s instructions for the current version. |
| Windows or your administrator reports a policy block | Note the exact message. Use the provider’s firewall requirements for a personal PC, or share the message with IT for a managed PC. |
Allow Your VPN App in Windows 11 or Windows 10
- Open Start, search for Windows Security, and choose Firewall & network protection. Check which network profile Windows marks as active.
- Select Allow an app through firewall → Change settings. Approve the administrator prompt if you manage this PC.
- Find the VPN app or service the provider names. If it’s missing, click Allow another app → Browse and select the installed app’s executable using the provider’s instructions.
- Check the required network profile. Use Private for a trusted home network configured as private. Select Public only if the provider documents a need for it on public networks.
- Click OK and reconnect the VPN. If the new exception doesn’t help and your provider doesn’t require it, remove it.
Allowing a known app keeps the exception tied to that app. Microsoft explains why an app exception usually carries less risk than opening a port in its Firewall exceptions guide.
Check Outbound Rules if the VPN Still Won’t Connect
The allowed-apps screen handles incoming connections. It won’t override an outbound block on the VPN tunnel. On a personal PC you manage, search Start for Windows Defender Firewall with Advanced Security, then open Outbound Rules. Check for a block that names the VPN app or matches its installed program path. A conflicting block rule takes priority over an allow rule. Microsoft’s firewall rule documentation explains how Windows applies these rules.
If you manage a network that blocks outbound traffic by default, use your VPN provider’s documented requirements to scope any exception to the exact program, destinations, and protocol it needs. On a work or school PC, give IT the VPN error, the network you were using, and when it started. Our guide to Windows 11 work Wi-Fi and VPN connection problems covers checks for update-related failures.
Frequently Asked Questions
Do I have to turn off Windows Firewall to use a VPN?
Keep the firewall enabled. Most VPN clients work with the default firewall rules. Add a specific exception only if your provider or administrator identifies a requirement.
What port should I open for my VPN?
Check the provider’s documentation for the protocol your app uses. Many consumer VPN apps need only an outbound connection, so you can usually leave inbound ports closed.
Why does my VPN work on my hotspot but not on public Wi-Fi?
The public network may require a browser sign-in or restrict the VPN’s type of traffic. Check the network’s terms and use another trusted connection if the VPN still fails.
What if Change settings is grayed out?
The change may require administrator access, or your organization may manage the settings. Contact IT if the computer is managed.