How Can You Check Whether Windows Firewall Blocks a VPN App?
A step-by-step way to prove or rule out Windows Firewall as the reason a VPN app will not connect, using rules, logs and a clean comparison test.
11 min readUpdated Nov 9, 2026By XPASS Editorial Team

When a VPN app on Windows refuses to connect, the firewall is the first suspect most people name, and often the wrong one. Windows Defender Firewall allows outgoing connections by default, so a normal VPN client usually passes without special rules. It does happen, though: a prompt was dismissed, a security suite added stricter rules, or a policy on a work or school PC blocks the program. The trouble is that a block is silent, so the app just spins.
This article is about the checking, not the fixing. You will learn how to read the symptoms, look at the rules that apply to the app, turn on logging so the firewall tells you what it dropped, and run a comparison test that does not require switching protection off. For how to set the firewall up safely in the first place, read Windows Firewall and VPN: safe configuration tips. Here the goal is a clear yes or no.
Start with the symptoms, not the settings
Before opening any firewall screen, collect three facts. They take five minutes and often save an hour.
- Does the same VPN account connect from another device, such as a phone, on the same Wi-Fi? If yes, your details and the pass are fine, and the problem is local to the Windows PC.
- Does the Windows PC connect on a different network, such as a phone hotspot? If it connects there, the firewall on the PC is less likely to be the cause, because the same rules apply on both networks. The first network, its router or its filtering is the better suspect. The article on VPNs blocked by a firewall covers that side.
- Did the VPN ever work on this PC? If it worked last week and stopped after an update, a new security product or a Windows feature change, the change itself is the clue.
A local firewall block tends to look like this: the app reaches the connecting stage and times out, there may be no error message at all, other apps and browsers work normally, and the problem follows this PC across networks. A router or network block is more likely to change from place to place.
| What you see | Points toward |
|---|---|
| Fails on this PC on every network, works on other devices | Something local: firewall, security suite, adapter, or app install |
| Fails on one network only, works on that PC elsewhere | The network or router, not the PC firewall |
| Fails with a clear error about credentials | Account details, not the firewall |
| Fails right after installing a security product | That product's firewall or web protection |
| Prompt appeared once and you closed it | A missing allow rule for the app |
This table is a guide, not proof. The checks below turn the guess into evidence.

Step 1: See who manages the firewall
On Windows 10 and 11, open Windows Security and choose Firewall and network protection. Wording varies slightly between versions. You will see up to three network profiles: Domain, Private and Public. One of them is marked as active.
Look for a message saying the settings are managed by another provider or your organisation. This matters a great deal. If a third-party security suite owns the firewall, the Windows rules may be switched off or ignored, and the rules that actually decide are in that product. If your organisation manages the PC, a policy may block programs you cannot see or change. In both cases, editing Windows rules will not help and you should check the other product or ask the administrator.
Also note which profile is active. A VPN adapter and your Wi-Fi may sit in different profiles, and the Public profile is stricter than Private. Knowing the profile tells you which set of rules and which log setting you need in the next steps.
Step 2: Check the rules that apply to the VPN app
Still in Firewall and network protection, choose Allow an app through firewall. You will see a list of programs with tick boxes for Private and Public. Find the VPN app (VPNclient, if that is what you installed). Several outcomes are possible:
- The app is listed and ticked for the profile you are using. A simple allow rule exists, and the next step is the log.
- The app is listed but ticked for Private only while your network is Public, or the other way round. That mismatch is a real finding.
- The app is not listed at all. That is normal for outgoing-only programs, because the default outbound behaviour allows them. It is not a block by itself.
For a deeper look, open Windows Defender Firewall with Advanced Security (search for it in the Start menu, or run wf.msc). Select Outbound Rules and Inbound Rules and scan for entries that mention the VPN app or its installed driver, and for any rule whose action is Block. Sort by Action to bring Block rules to the top. A block rule that you did not create is worth noting down with its name, program path and profile.
Also check the default behaviour. In the same console, open the properties of Windows Defender Firewall and look at the Outbound connections setting for each profile. The normal value is Allow. If it says Block for the profile you use, then every program needs an explicit allow rule, and that alone could explain the failure. This setting is common on managed work PCs and rare on home PCs.
If you prefer PowerShell, an administrator window can list profiles and rules, for example the Get-NetFirewallProfile command for the default actions and Get-NetFirewallRule for rules. Use them to read, not to change, at this stage.
Step 3: Turn on dropped-packet logging
The rule list tells you what is configured. The log tells you what actually happened. In Windows Defender Firewall with Advanced Security, open the properties page, choose the tab for your active profile, and under Logging select Customize. Set Log dropped packets to Yes. Note the file path shown. By default it is a file called pfirewall.log under the Windows folder, in System32, LogFiles and Firewall. Leave the size limit at its default unless you expect a long test, and choose Log successful connections only if you need to compare; it makes the file grow quickly.
Changing logging needs administrator rights, and on a managed PC it may be locked. Do not work around that restriction; ask the administrator instead.
Now run the test:
- Note the time.
- Open the VPN app and press connect, then wait until it clearly fails or times out.
- Open the log file in Notepad. If it is hard to open, copy it to another folder first.
The file is plain text. Each line records a date, time, action (DROP or ALLOW), protocol, source address, destination address, ports and direction (SEND or RECEIVE). Look for lines with DROP and a time that matches your attempt. What you want to learn is whether any dropped line involves the server address the app was contacting, or the port it was using. You can usually see the server address in the app, or by checking which destination the app is trying through Resource Monitor, under the Network tab, while it connects.
A few cautions when reading:
- Many DROP lines are normal background noise: broadcast traffic, discovery packets and unsolicited inbound probes. A busy log does not mean your VPN is blocked.
- Match by time and by destination. A DROP with direction SEND to the VPN server is meaningful. A DROP with direction RECEIVE from a random address is not.
- If you see no DROP lines near your attempt, the firewall most likely did not stop the connection.
Step 4: Use the Event Viewer if you need more detail
The text log does not name the program. Windows can record blocked connections with the program path through its auditing feature for Filtering Platform events, which show up in the Security log in Event Viewer. This is off by default and needs administrator rights to turn on. It is useful, but it produces many entries, so enable it only for a short test and turn it off afterwards. Because audit settings are sensitive on managed machines, skip this step if the PC belongs to your employer and just report what you found in the earlier steps.
If you do use it, search the events for the VPN app's executable name around the time of your attempt. An entry showing a blocked outbound connection from that program is strong evidence. If the program never appears among blocked events, the firewall is again an unlikely cause.
Step 5: Compare, do not disable
Many guides say to turn the firewall off for a minute. We would avoid that as a first move. It exposes the PC, it can give a misleading result if another layer is the real cause, and people often forget to switch it back. You can get the same information more safely by comparing.
Try this sequence on a trusted network, changing one thing at a time:
- Confirm the baseline: the app fails to connect and the log shows what it shows.
- If the allow-list entry is missing or ticked for the wrong profile, correct only that, save, and try again. Note whether the result changes.
- If a third-party suite manages the firewall, look at its blocked-connections or event page for the VPN app, rather than changing Windows rules.
- Test the same account on a different device and network to confirm the pass itself works.
If a support agent asks for a short test with protection paused, do it only on a trusted network, for the shortest possible time, and switch protection back on immediately afterwards. If the VPN connects while protection is paused and fails when it is back on, you have your answer, and the next step is a narrow allow rule for the app, not a permanent off switch.

A worked example
Maya installs a VPN app on her Windows laptop. It reaches the connecting screen and then times out with no message. Her phone connects fine with the same account on the same Wi-Fi, so the pass is working. The laptop also fails on her phone hotspot, so the home router is not the cause.
She opens Windows Security and sees that the firewall is managed by a security suite she installed last month. The Windows allow-list is not in charge. She opens the suite's firewall page and finds a rule set to ask before allowing new programs, with a pending entry for the VPN app that she dismissed earlier. She allows the app, tries again, and the connection completes. If the suite had shown nothing, her next step would have been the Windows log, and a clean log would have told her to stop looking at firewalls and check the network adapter instead.
What a clean result still leaves open
Ruling out the firewall is a good result, but it is not a fix. If neither the rules nor the log show a block, consider these other local causes: a damaged or missing virtual network adapter after an update, a security suite's web filter acting at another layer, a proxy setting on the PC, wrong date and time, or sign-in details typed incorrectly. Our help guide VPN not connecting? Step-by-step fixes walks through those in order, and the Windows setup guide covers installing the app and approving its network drivers, which Windows asks for during installation.
Be realistic about limits. A firewall log shows what the firewall saw on this PC, not what happens on the router, at your internet provider or on a work or school network. A network that filters VPN traffic will look like a local block from your seat, but the log will stay clean. And no VPN, including one set up correctly, guarantees access to every network or site. Only change settings you own, and do not try to get around rules set by an employer or school; ask the administrator.
Finally, keep a short note of what you changed. Restore logging to its original setting when you finish, because leaving it on for weeks can fill the disk with large text files and expose connection details to anyone with access to the PC.
Common mistakes
- Turning the firewall off permanently because one test suggested it was the cause.
- Reading the whole log and panicking at DROP lines that are routine background traffic.
- Editing Windows rules when a third-party suite is actually in control.
- Creating a broad Allow All rule instead of a narrow one for the single app.
- Forgetting that the active profile may differ from the one you edited.
- Changing several things at once, so the cause stays unknown.
Summary
Windows Firewall is less often the culprit than people think, but you can settle the question without guessing. Check the symptoms, see who manages the firewall, review the app's rules and default outbound action, log dropped packets during a connection attempt, and compare results instead of switching protection off. If you find a block, fix only that one rule. If you do not, move on to the adapter, the network and your account details with a clear conscience. When your VPN pass is ready and the PC is sorted, you can review the options on the pricing page whenever you need more time.
Frequently asked questions
How do I know if Windows Firewall is blocking my VPN app?
Look at the pattern first. A VPN that works on your phone or another network but fails on one Windows PC, with no clear error, points to something local. Then check the firewall rules for the app, turn on dropped-packet logging, and look for blocked entries that match the app while it tries to connect.
Should I turn Windows Firewall off to test my VPN?
Avoid it. Switching the firewall off exposes the PC on every network and often hides a different cause. Logging and rule checks give you the same answer without removing protection. If a support contact asks for a brief test, do it only on a trusted network and switch protection back on straight away.
Where is the Windows Firewall log?
By default Windows can write dropped-packet entries to a text file named pfirewall.log in the Windows folder under System32, LogFiles, Firewall. Logging is off until you enable it in the firewall properties for the profile you are using, so there may be no file until you do.
Can an antivirus suite block a VPN app even if Windows Firewall is fine?
Yes. Many security suites include their own firewall or web protection. Windows Security shows when another product manages the firewall. If one does, check that product's rules and logs as well, because the Windows rules may no longer be the ones that decide.
What if the log shows no blocked entries but the VPN still fails?
Then the firewall is probably not the cause. Move on to other local causes such as the network adapter, the router or network filtering, and the account details you typed. A clean log is a useful result because it lets you stop changing firewall settings.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Need a VPN for a short trip or a busy month?
XPASS sells prepaid passes for a set number of days. You pay once and nothing renews automatically.
See passesKeep reading

Device Guides
Windows Firewall and VPN: Safe Configuration Tips
How to keep Windows Defender Firewall switched on and still let your VPN work: profiles, prompts, narrow rules, sharing settings and a safe troubleshooting routine.
10 min read

Troubleshooting
Firewall Blocking VPN: How to Diagnose It
How to work out whether a firewall is the reason your VPN fails: telling a device firewall from a router or network policy, testing safely, and what to do in each case.
9 min read

Troubleshooting
Fix Missing VPN Network Adapter on Windows
A VPN that cannot find its network adapter will not connect. This guide shows where Windows hides adapters, how to bring one back and when to reset.
10 min read