Full Fix: Firewall Blocking VPN [8 Expert-Tested Solutions]

Make sure you use a reliable VPN, like the one we recommend below

by Milan Stanojevic
Milan Stanojevic
Milan Stanojevic
Windows & Software Expert
Milan has been enthusiastic about technology ever since his childhood days, and this led him to take interest in all PC-related technologies. He's a PC enthusiast and he... read more
Reviewed by Edgar Nicov
Edgar Nicov
Edgar Nicov
Privacy & VPN Expert
Since the dial-up Internet era, Edgar was interested in online resources. From forums to e-commerce websites, he started digging into how those resources could generate revenue. Today he... read more
Affiliate Disclosure
  • Windows Firewall's role is to protect you from incoming connections and the VPN to encrypt outgoing information.
  • If the VPN is blocked by the firewall, its functionality will be compromised and your privacy put at risk.
  • Oftentimes, the solution is simply restarting your PC or the VPN, but sometimes it's more complicated.
  • Check out our guide and learn how you can make your firewall and VPN get together for your privacy's sake.

Millions of Internet users across the globe are using VPNs to encrypt and secure their data while keeping their browsing anonymous online.

VPNs also help users bypass geo-restrictions and unblock content from sites they otherwise wouldn’t be able to access, while anonymous.

However, many of these users face difficulties when trying to install and/or launch their VPN client on Windows, and usually, it is blocked by a firewall or other security software in place.

If you experience your VPN block issues by Windows Firewall, in most cases it is a default setting, but there are ways to get around it and get connected again. Use the solutions below to do this.

Private internet access Logo Cyberghost
Best VPN we have tested for:

  • Gaming
  • Streaming
  • Privacy
  • Unblocking
Surf the internet anonymously now at 83% discount!
Cyberghost offers 4 months free for any 2-year plan. Get it now at $2.03/mo and benefit from:
  • Best privacy protocols and military-grade encryption
  • Geo-restriction bypassing for streaming services and websites
  • Access to over 6 000 servers worldwide
  • Unlimited number of connections to different locations

Why is the Firewall a problem for VPNs?

Your firewall handles your network security, blocking access to and from suspicious platforms/services. It can sometimes flag your VPN as dangerous, even if it’s not.

➡️ How to check if VPN is blocked
Open your firewall’s settings and scroll to the Blocked applications section.

➡️ How to stop the firewall from blocking VPN?
Head to settings and find the Add exception to firewall option. You’ll get a list of all the apps installed on your device. Select your VPN and save your settings.

What can I do if my VPN got blocked by Windows Firewall?

1. Change your VPN

You can change your VPN and see if it resolves the issue. Normally, an established VPN provider has a good client that will work great together with Windows Firewall.

A great VPN, recommended below, is owned by Kape Technologies and has servers located all around the world.

It supports high data speeds, which makes it a fast VPN for Windows operating system, besides its powerful features and performance.

It is a favorite among the best VPN software for laptops as it not only protects your privacy on a multi-platform privacy solution but also offers reliable connections.

ExpressVPN

Use ExpressVPN to secure your connection without being blocked by the firewall.

Free trial Visit website

2. Add an exclusion

  1. Open Windows Defender Security Center
  2. Go to Virus & Threat protection settingswindows defender virus protection
  3. Select Exclusions
  4. Select Add or remove exclusions
  5. Select Add an exclusion and add your VPN client software

Note: Most VPN clients use ports 500 and 4500 UDP, and port 1723 for TCP. If these don’t work, add a new rule to allow them in Windows Firewall Advanced settings.

3. Allow VPN through firewall settings

  1. Open Control Panel
  2. Select System & Security
  3. Click Windows Defender Firewall
  4. On the left pane, click Allow an app or a feature through Windows Firewall. A window in which you can allow or prevent any app will display.
  5. Click Change Settings.
  6. Check for your VPN from the list of programs and apps you want to allow through your firewall.
  7. Check Public or Private to select the network type on which you want the VPN to run.
  8. If you cannot find your VPN, click Allow another app.
  9. Select your VPN and then click Add, then click OK.

4. Change adapter settings

  1. Open Control Panel and select Network & Internet.
  2. Select Network and Sharing Center.chrome ignore certificate errors
  3. On the left pane, click Change adapter settings
  4. Click File.
  5. Select New incoming connection.
  6. Select all users you want to access your VPN connection.
  7. Check Through the Internet.
  8. Click Next.
  9. From the list of protocols, mark the Internet protocols you want your VPN to connect to.
  10. Double click Internet Protocol Version 4 (TCP/IPv4).
  11. Go to Control Panel again and select Windows Firewall.
  12. Click Advanced Settings.
  13. Click Inbound Rules>Actions.
  14. Click New Rule.
  15. In the Wizard, choose Port and click Next. Most VPN clients use ports 500 and 4500 UDP, and port 1723 for TCP. You can use TCP and insert 1723 in Specific remote ports field.
  16. Click Next.
  17. Select Allow the connection and click Next.
  18. When asked ‘When does this rule apply?’ select all options (Domain, Private, Public) and apply the rule to all.
  19. Choose a name and description to fill the Name and Description.
  20. Click Finish.

5. Create a new inbound rule

  1. Open the firewall settings and click inbound rules on the left.
  2. Click the New rule on the right.
  3. Click Custom rule.
  4. Specify programs or leave as all programs.
  5. Specify ports or leave as all ports.
  6. Click “These IP addresses” under remote IP
  7. Click “This IP address range”.
  8. Type From “10.8.0.1” To “10.8.0.254”.
  9. Close and click Next, then leave as “Allow the connection”.
  10. Apply to all profiles.
  11. Name your profile and click Finish.

You should then be able to connect to your home devices through your VPN

6. Enable rule for PPTP

If your VPN requires PPTP, do the following:

  1. Open Control Panel
  2. Select Windows Firewall
  3. Select Advanced Settings.
  4. Search for the ‘Routing and Remote Access‘ under Inbound Rules and Outbound Rules. For Inbound Rules: right-click ‘Routing and Remote Access (PPTP-In)’, select Enable Rule. For Outbound Rules: right-click ‘Routing and Remote Access (PPTP-Out)’, select Enable Rule.

7. Open ports

In order to allow your VPN traffic to pass through the firewall, open the following ports:

  • IP Protocol=TCP, TCP Port number=1723 – used by PPTP control path
  • IP Protocol=GRE (value 47) – used by PPTP data path
  • Make sure that these ports are allowed on Windows Firewall with corresponding network profile.
  • DO NOT configure RRAS static filters if you are running on the same server RRAS based NAT router functionality. This is because RRAS static filters are stateless and NAT translation requires a stateful edge firewall like ISA firewall.
  • In general, VPN error 807 indicates that the network connection between your computer and the VPN server was interrupted. This also can be caused by a problem in the VPN transmission and is commonly the result of internet latency or simply that your VPN server has reached capacity. Try to reconnect to the VPN server.

8. Turn off SSL monitoring

Depending on your firewall or security software, there are steps to take to fix VPN blocked by Windows firewall. Here’s what to do if you’re using ESET NOD32 or Kaspersky:

NOD32:

  • Select Setup
  • Select Advanced Setup
  • Select Antivirus and antispyware
  • Select Web access protection
  • Select HTTP, HTTPS > HTTP scanner setup, and set HTTPS filtering mode to Do not use HTTPS protocol checking.
Note icon
NOTE
If HTTPS filtering mode is greyed out, you must first set Antivirus and antispyware > Protocol filtering > SSL to Always scan SSL protocol. Restore this to its previous setting after changing HTTPS filtering mode.
  • Select Settings
  • Select Traffic Monitoring panel
  • Select Port Settings or settings
  • Select Network
  • Select Port Settings and uncheck the box for port 443/SSL

Any luck fixing VPN blocked by the Windows firewall using the solutions above? Share with us by leaving a comment in the section below.

After you whitelist your VPN you should be able to allow PPTP through the firewall.

Many people report having to whitelist VPNs. It seems that you oftentimes have to allow Cisco Anyconnect through a firewall as well as other reputable VPNs:

  • Surfshark blocked by Windows Defender
  • Ports required for VPN connections have been blocked by the firewall
  • NordVPN blocked by firewall
  • OpenVPN blocked by firewall

Also, leave there any other suggestions or questions that you may have and we’ll be sure to check them out.

Your connection is not secure - websites you visit can find out your details:

  • Your IP
  • Your IP Address:
    loading

Companies can sell this information, alongside your location and internet provider name, and profit from it by serving targeted ads or monitoring your data usage.

Use a VPN to protect your privacy and secure your connection.

We recommend Private Internet Access, a VPN with a no-log policy, open source code, ad blocking and much more; now 79% off.

This article covers:Topics: